1
what does the '!' in the 'if' statement means?Code:for (d = 2; d < p; d++) if (!(p%d)) isPrime = 0;
2. What is printed out by the following poorly indented C code fragment?
Why is the ans zero? shouldn't it be 1?Code:int x = 5, y = 0; if(x < 3) if(y > 4) if (x < 5) y++; else y--; printf("%i\n", y)
TIA.