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

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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