why is it giving n?? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

why is it giving n??

#include <iostream> using namespace std; int main() { unsigned int i=2; signed char c=-2; printf("%d %d",c,i); if (i>c) printf("y"); else if(i<c) printf("n"); return 0; }

7th Sep 2020, 4:10 PM
Aayu
2 Respuestas
7th Sep 2020, 4:13 PM
Rohit
+ 1
thanks:)
7th Sep 2020, 4:53 PM
Aayu