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