Q. Which format specifier is used to print a float?

  • (A) %c
  • (B) %d
  • (C) %s
  • (D) %f
πŸ’¬ Discuss
βœ… Correct Answer: (D) %f
Explanation: %f is used to print floating-point numbers.
Explanation by: Mr. Dubey
%f is used to print floating-point numbers.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate