Logical NOT operator : True and false condition
A ~A
0 1
1 0
If A = 0 then condition become true if A = 1 then condition become falseCode:#include <stdio.h> int main (void) { unsigned int A = 1; if (!A) { printf (" True"); } else { printf ("False"); } return 0; }
what is meaning of this if(!A) ?