+ 3

Please explain the output of this code to me

#include <stdio.h> int main() { unsigned int X=23; signed char Y=-23; if(X>Y) { printf("yes"); } else if(Y>X) { printf("no"); } return 0; }

9th May 2019, 1:06 PM
Maaheynoor
Maaheynoor - avatar
2 Antworten
+ 2
The output is no
9th May 2019, 1:07 PM
Maaheynoor
Maaheynoor - avatar