Showing posts with label ?: conditional Operator. Show all posts
Showing posts with label ?: conditional Operator. Show all posts

Tuesday, 30 March 2010

?: conditional Operator

expression1 ? expression2 : expression3

Evaluates expression1, and if the value of expression1 is true, the result is the value of expression2; otherwise the result is the value of expression3.

Followers