in reply to parentheses around a function call in a ternary choice
... print +(get1()) ? "3: Flag is up\n" : "3: Flag is not up\n"; print +(&get1 ) ? "4: Flag is up\n" : "4: Flag is not up\n"
which causes the output to change to...
... 3: Flag is up 4: Flag is up
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: parentheses around a function call in a ternary choice
by didess (Sexton) on Jun 23, 2009 at 21:20 UTC | |
by FunkyMonk (Bishop) on Jun 23, 2009 at 21:40 UTC |