what will be the result for
!n where n can be any integer...
is this operation possible???? if so what will happen??
|
Light Poster
|
|
| 12Aug2007,01:49 | #1 |
|
what will be the result for
!n where n can be any integer... is this operation possible???? if so what will happen?? |
|
Team Leader
|
![]() |
| 12Aug2007,06:01 | #2 |
|
! is the logical negation operator. It will produce 0 if the operand is non-zero and 1 if the operand is zero. You could learn this in the most rudimentary documentation of the language.
|