Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.c:3:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(void){ ^ main.c:3:1: note: change return type to 'int' void main(void){ ^~~~ int main.c:5:1: error: void function 'main' should not return a value [-Wreturn-type] return(0); ^ ~~~ 1 warning and 1 error generated. |
#include <stdio.h> void main(void){ printf("Hola Codeo"); return(0); }