Este progtwig se está comstackndo exitosamente pero dando el siguiente error de enlace:
símbolo indefinido _main en el módulo c0.ASM
Mi progtwig es el siguiente:
#include #include int main() { char input[] = "hello sumit kumar"; char *a; a = input; printf("%s", a); getch(); return 0; }
`
Suponiendo que está en Linux: el siguiente progtwig funcionaría.
#include int main() { char input[] = "hello sumit kumar"; //Removed stray marks at the beginning char *a; a = input; printf("%s", a); getchar(); //To use getch() have to include file return 0; //Removed stray marks at the end }