function declaration scanf code example
Example 1: scanf in c
#include <stdio.h>
int main () {
scanf("%s", str);
printf("%s"str);
scanf("%d", int);
printf("%d"int);
return(0);
}
Example 2: scanf integer
int integer;
scanf("%d", &integer);