how to scan value and give it to any function in c code example
Example 1: how to scan in c
scanf("%d",&int);
Example 2: scanf integer
int integer;
scanf("%d", &integer);
scanf("%d",&int);
int integer;
scanf("%d", &integer);