C program to demonstrate scanf.

#include<stdio.h>
#include<conio.h>
void main()
{
 clrscr();
 char name[20];
 printf("Enter Your Name : ");
 scanf("%s", name);
 printf("Hello, %s", name);
 getch();
}
C program to demonstrate scanf. C program to demonstrate scanf. Reviewed by on December 22, 2019 Rating: 5

No comments:

Powered by Blogger.