Please explain the output of this code to me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
+ 2
The output is no
9th May 2019, 1:07 PM
Maaheynoor
Maaheynoor - avatar