i = (j>1)?2:1;
...is a shorthand way of writing if/else (aka ternary operator). If the condition on the left evaluates to true, it returns the value after the question mark, if false it returns...
Type: Posts; User: copeg
i = (j>1)?2:1;
...is a shorthand way of writing if/else (aka ternary operator). If the condition on the left evaluates to true, it returns the value after the question mark, if false it returns...