πŸ“Š C Programming
Q. Which of these functions should I use to round 2.5 to 2?
  • (A) pow
  • (B) ceil
  • (C) floor
  • (D) sqrt
πŸ’¬ Discuss
βœ… Correct Answer: (C) floor

Explanation: In C, “ceil” function used to round up and “floor” function used to round down.

Explanation by: Rudra Pratap Singh
In C, “ceil” function used to round up and “floor” function used to round down.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
187
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rudra Pratap Singh
Publisher
πŸ“ˆ
88%
Success Rate