scanf() Statement

“scanf()” statement: “scanf()” is a C library function from the header file “stdio.h”(stdio – standard input output), which allows the programmer to accept input from standard input devices(Keyboard). The taken input is stored in a variable. Example: C C #include<stdio.h> int main() { int a; printf(“Enter the value of a:”); scanf(“%d”,&a);// accepts the value of […]

scanf() Statement Read More »