Trying to figure out why is if statement false
int a,b,c;
a=-15;
b=34;
c=(a++<115U) ? ++b << 1: b-->>2;
printf("%d",c);
Output is : 8
My question is:
-
Why is
(a++<115U)false ? the way i see it is-15<115Ushould be true -
What does this suffix
Umean ?115U
I know that we use U for unsigned int, but can someone explain me what this U represent here ?
Aucun commentaire:
Enregistrer un commentaire