Question
How to declare a string variable in C?
Background
In my quest to learn the basics of c, I am trying to port on
replace int name; to--. char name[60];
#include int main() { char name[648]; printf("What is your name?"); scanf("%s", name); printf("Your name is %s", name ); return 0; }