Is it ternary operator in c++?

Showing Answers 1 - 6 of 6 Answers

madhuri

  • Jul 13th, 2006
 

pls send me the answer , i think as ternary operator is also a condition we can use

  Was this answer useful?  Yes

s.arun

  • Jul 17th, 2006
 

   

          Yes,the c++ has the ternary operators.

if it is wrong please reply me.

  Was this answer useful?  Yes

avinash v bhat(avin)

  • Sep 23rd, 2006
 

yes the ternary operator in C++ are

? and :



they are used when checking the condition...

yuvaraj

  • Oct 9th, 2006
 

i think its a condition operator if its wrong sent me correct ans

  Was this answer useful?  Yes

praveen

  • Oct 14th, 2006
 

near,far,huge pointer please give me the info.

  Was this answer useful?  Yes

Vaibhav

  • Sep 27th, 2007
 

?: is a ternary operator and it act as a if else statement for example

a = ( 5>10 ? return 1 : return 0 )

if 5 > 10 then return 1 else return 0.

Vaibz

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions