1.

x’ffff’ in decimal is ___________(a) 65534(b) 66535(c) 65536(d) 65537This question was posed to me in an internship interview.Origin of the question is Data Value Categories in chapter Data Types of MySQL

Answer»

Right choice is (c) 65536

For EXPLANATION I would say: In MySQL, string values are SPECIFIED using the standard SQL notation x’val’. Here, val is pairs of hexadecimal digits (‘0’ through ‘ 9 ’ and ‘ a ’ through ‘ f ’). x’ffff’ is 65536 in DECIMAL.



Discussion

No Comment Found

Related InterviewSolutions