My issue
why charx[10]
My code
#include <stdio.h>
int main(void) {
char x[10];
scanf ("%s",&x);
printf("Hello %s",x);
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
why charx[10]
#include <stdio.h>
int main(void) {
char x[10];
scanf ("%s",&x);
printf("Hello %s",x);
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone