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
minirkk
minirkk - avatar
+ 1
thanks:)
7th Sep 2020, 4:53 PM
Aayu