+ 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; }
1 Réponse
+ 2
The output is no
#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; }