Q. Which of the following format specifier is used to print a float in C?

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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