Originally Posted by CougarElite
At the point where you say the compiler takes a few bytes (in almost cases 4) and he will use them as number-space. They will allways be interpreted like a number.
So if you want to store a name (a string) you would need to change this to something like "char awesome_name[x]" where x can be any number and stands for the amount of characters in the string.
Then you need to tell scanf to read in a string instead of a number by changing to
where 1234 is the length x you chose for the string.
And finally you need to tell printf to put out a string also:
so far, Chris
printf("Your name is %s", awesome_name);