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

    return 0;
}
  • (A) 4
  • (B) 3
  • (C) 5
  • (D) 2
πŸ’¬ Discuss
βœ… Correct Answer: (B) 3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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