Q. Which is the correct format specifier for double type value in C?

  • (A) %d
  • (B) %f
  • (C) %lf
  • (D) %LF
πŸ’¬ Discuss
βœ… Correct Answer: (C) %lf
Explanation: The %lf is used to represent a double type value in C programming language.
Explanation by: Kanak Sharma
The %lf is used to represent a double type value in C programming language.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
283
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
96%
Success Rate