πŸ“Š C Programming
Q. What is the output of the C Program.?
Code:
int main()
{
    int a=0;
    a = 5>2 ? printf("4"): 3;
    printf("%d",a);

    return 0;
}
  • (A) 0
  • (B) 14
  • (C) 41
  • (D) compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 41

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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