Q. What is the output of the C Program?

Code:
int main()
{
    int a=0;
    a = 10 + 2 * 12 / 3 * 2 + 5;
    printf("%d", a);

    return 0;
}
  • (A) 19
  • (B) 31
  • (C) 11
  • (D) 25
πŸ’¬ Discuss
βœ… Correct Answer: (B) 31

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
178
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate