scan for int C code example Example 1: how to scan in c scanf("%d",&int); Example 2: scanf integer int integer; scanf("%d", &integer);