For which type, the format specifier '%i' is used?

45. For which type, the format specifier "%i" is used?

  1. int
  2. float
  3. array
  4. char

Answer: A) int

Explanation:

We can use a "%d" or "%i" format specifier for integer variables in C++.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.