Home »
MCQs »
C++ MCQs
For which type, the format specifier '%i' is used?
45. For which type, the format specifier "%i" is used?
- int
- float
- array
- char
Answer: A) int
Explanation:
We can use a "%d" or "%i" format specifier for integer variables in C++.