char buffer[200]; /* safer length for your buffer */
printf("Enter your first and last name: ");
scanf("%[^\n]",buffer);
/* this will read an entire line including spaces between words */
...
Type: Posts; User: twiki
char buffer[200]; /* safer length for your buffer */
printf("Enter your first and last name: ");
scanf("%[^\n]",buffer);
/* this will read an entire line including spaces between words */
...