now here's my confusion logical operators
int i, j,k;
i=10; j=1; k=-2;
printf("%d", !i < j); //what does !i mean??? //
printf("%d", !!i < !j); // what does !!i mean ??? //
printf("%d", i && j || k); // what is the result asking for ?? //
printf("%d", i < j || k); // again, there's no if clause asking for comparison, so what does the result ask for?? //
I compiled code and ran and all the results were 1.
Is that a 1 meaning TRUE for the relation between 2 values??
I am just so confused on the use of these logical operators.
Gimme loops or if-else statements anytime!!