The statement print f (“ % d”, 10 ? 0 ? 5 : 1 : 12); will print

PYQ UGC NET 2010Modified — slightly modified from the official paper; see the solution

The statement

print f (“ % d”, 10 ? 0 ? 5 : 1 : 12);

will print

  1. A.

    10

  2. B.

    0

  3. C.

    12

  4. D.

    1

Attempted by 208 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…