This is a very small tutorial I'm writing concerning the ternary operator. It sorta works like an if statement. Lets start with the syntax: (expr.1)?(expr.2):(expr.3); If expr.1 evaluates to ...
This is a very small tutorial I'm writing concerning the ternary operator. It sorta works like an if statement. Lets start with the syntax: (expr.1)?(expr.2):(expr.3); If expr.1 evaluates to true, expr.2 will be executed. Otherwise expr.3 will be executed.