Right,t his will eba real dumb qquestion to all you pros reading this, well hear it goes...
Basically, when i compile and execute all i get printed on the screen is the first letter of the defined name. Whats going on, i fuguered its something to do with only putting it down as a "char", is there anything to define an entire word, like string or something??Code:#include <stdio.h> #include <stdlib.h> int main(void) { char name; printf("Please enter your name... "); scanf("%c", &name); printf("\n\n"); printf("Hello printf("%c", name); printf(", How are you today??? \n\n\n"); }
Any ideas..... dragon2309