Conditional operator is a ternary operator. Ternary operator means it requires three operands. i.e Left side expression, Middle Expression, Right side Expression...
Read this post on sillycodes4u.blogspot.com