If your are running the code in windows then use the function getch() after the print statement.
Code:
#include <stdio.h>
#include<conio.h>
int main()
{
char me[20];
printf("what is your name?");
scanf("%s",me);
printf("Darn glad to meet you, %s!\n",me);
getch();
return(0);
}
If you are running on other platforms use this simple method for checking.
Code:
#include <stdio.h>
int main()
{
char me[20];
char ch;
printf("what is your name?");
scanf("%s",me);
printf("Darn glad to meet you, %s!\n",me);
printf("Press Enter to quit...");
scanf("%c",&ch);
return(0);
}