which is the ternary operator?
can you explain what the "?" and ":" do?
Type: Posts; User: Abadude
which is the ternary operator?
can you explain what the "?" and ":" do?
Can anyone tell me what the "?" and ":" mean in the following statement?
int y = (x < 100) ? (z > 1 ) ? 4 : 3 : 2;