C Programming Data Type Multiple choice question

Exercise :: data type - General Questions

This section contains a lot of Question with answer and explanation.

1) The format identifier ‘%i’ is also used for _____ data type?
A. char
B. int
C. float
D. double

Answer:

int

Option:

( B )


Explanation :

Both %d and %i can be used as a format identifier for int data type.