1.

The macro MB_LEN_MAX is used to find _________(a) Maximum number of bytes in a multi-byte character(b) Whether the given function is valid or not(c) The maximum time taken for the execution of a particular function(d) Maximum number of bits in a multi-byte characterThis question was addressed to me during a job interview.My question is based upon Implementation-Defined Limits in chapter C Library of C

Answer» RIGHT option is (a) Maximum NUMBER of bytes in a multi-byte CHARACTER

For explanation: The MACRO MB_LEN_MAX is defined under the header FILE limits.h and is used to find the maximum number of bytes in a multi-byte character.


Discussion

No Comment Found

Related InterviewSolutions