Question discussion

What will be the output of the following expression?

359432Medium DSSSB TGT Computer Science 0 replies 0 views
0
What will be the output of the following expression?
#include<stdio.h>
int main() {
    printf("%d",7>=7);
    return 0;
}
  • A1
  • BTRUE
  • Cfalse
  • D0
Correct answer: A

Explanation

7 >= 7 is true, and C prints true as 1.

Discussion 0

Nobody has replied yet. Start the discussion!