Tuesday , June 2 2020
Home / C / C #06 – Scanf() Function in C Language

C #06 – Scanf() Function in C Language

scanf() Function

scanf() function is used to read character, string, numeric data from keyboard.

void main()
{
    int i;
    clrscr();
    printf("Enter The Number\n");
    scanf("%d",&i);
    printf("The Input Value Is %d\n",i)
    getch();
}

 

About Faheem

Faheem
An adaptable and responsible Software Engineer, who enjoys working with computers and the opportunity to learn new skills and work with new technologies is particularly attractive to me.

Check Also

C #08 – Loops and For Loop in C Language

  Loop in C Language A loop statement allows us to execute a statement or …

Leave a Reply

Your email address will not be published.