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!

0 comments:

Post a Comment