πŸ“Š C Programming
Q. What will be the output of the following C code snippet?
Code:
#include <stdio.h>
    void main()
    {
        1 < 2 ? return 1: return 2;
    }
  • (A) returns 1
  • (B) returns 2
  • (C) Varies
  • (D) Compile time error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compile time error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
249
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Monu Rathod
Publisher
πŸ“ˆ
98%
Success Rate