1.

What will be the radix value if the string begins with 0x?(a) 13(b) 14(c) 15(d) 16

Answer» The correct choice is (d) 16

To explain I would say: If the string begins with 0x, then the radix value will be 16. If the string begins with “0”, the radix is 8 (octal). If the string begins with any other value, the radix is 10 (decimal).


Discussion

No Comment Found

Related InterviewSolutions