0
What wrong with my code? It is work all right though it show error !!!!!!
int main() { char a[20]; //type anything you thinking about now ? gets(a); printf ("you are thinking now about this đ» \n"); puts(a); }
1 Answer
0
- you need to add " return 0 ;" at the end,
since you are using "int main(){}"
- you are using gets(), it's dangerous because of buffer overflow. the compiler is warning you.