In the main function of C:
void main(int argc, char **argv) { // do something here }
In the command line, we will type any number for ex
Using scanf is very easy, this is an example :
scanf
if (scanf("%d", &val_a_tester) == 1) { ... // it's an integer }