why is it giving n?? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
7th Sep 2020, 4:13 PM
Rohit
+ 1
thanks:)
7th Sep 2020, 4:53 PM
Aayu