πŸ“Š C Programming
Q. For which type, the format specifier "%i" is used?
  • (A) int
  • (B) char
  • (C) float
  • (D) double
πŸ’¬ Discuss
βœ… Correct Answer: (A) int

Explanation: 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.

Explanation by: Kanak Sharma
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
308
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
84%
Success Rate