Consider the following conditional statement:-

if(a>b)

  x=a:

else

  x=b: write the equivalent code segment using ternary operator pair "? : " .

Subject Programming Language
NU Year Set: 2.(c) Marks: 4 Year: 2013
Login to post your comment.