Showing posts with label string. Show all posts
Showing posts with label string. Show all posts

Wednesday, 1 June 2011

String Variables

void main(void)
{
 char name[81];
 printf("Enter your Name: ");
 scanf("%s",name);
 printf("Welcome!, %s",name);
 getch();
}


Output:


Enter your Name: Muzammil
Welcome!, Muzammil




If you have any question, you can ask me freely!