9.11.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 

No comments:

Post a Comment