A

Admin • 833K Points
Coach

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

  • (A) int
  • (B) char
  • (C) float
  • (D) double
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

In C programming language, both of the format specifier %d and %i are used for int type, where %d specifies the type of variable as decimal and %i specifies the type as integer.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.