CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

A Comparison Is a Number

C code walkthrough · Question 19
easyOperators

Code

Read carefully. What does this print?
1#include <stdio.h>
2int main() {
3 int result = (5 > 3) + (2 > 4);
4 printf("%d\n", result);
5 return 0;
6}

Your answer