Q. What will be the final value of x in the following C code?

Code:
#include <stdio.h>
    void main()
    {
        int x = 5 * 9 / 3 + 9;
    }
  • (A) 3.75
  • (B) Depends on compiler
  • (C) 24
  • (D) 3
πŸ’¬ Discuss
βœ… Correct Answer: (C) 24

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
244
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Geetam
Publisher
πŸ“ˆ
94%
Success Rate