Showing posts with label ternary operators. Show all posts
Showing posts with label ternary operators. Show all posts

Sunday, 11 September 2011

Ternary operator

Main features of ternary operators as follows : 
  • There are three operand.
  • It works from left to right
  • Example of ternary operator is conditional operator. Symbol of conditional operator :  condition ? True_parts : False_parts