Hello,
The below code is compiling good, but why it's not working?
Code:#include <stdio.h> int main(){ char n[6], i; for (i=0; i<=5; i++) { printf ("Enter you name"); scanf ("%s", &n[i]); } for (i=0; i<=5; i++) printf ("%s", n[i]); return 0; }