
November 19th, 2004, 05:35 AM
|
 |
Contributing User
|
|
Join Date: May 2004
Posts: 118
Time spent in forums: 17 h 28 m 17 sec
Reputation Power: 14
|
|
THe following code
int y;
y = (x > 0) ? 2 : x * 3;
means
If x is greater than 0, then y will get the value of 2; if not,
it will get the value of x * 3.
So, if I'm correct, then x would have to be equal to zero.
|