1.

What is the return value of strxfrm()?(a) length of the transformed string, not including the terminating null-character(b) length of the transformed string, including the terminating null-character(c) display the transformed string, not including the terminating null character(d) display the transformed string, not including the terminating null-characterThis question was addressed to me in a job interview.The above asked question is from String Operations topic in division String Operations in C of C

Answer»

Correct option is (a) length of the transformed string, not INCLUDING the TERMINATING null-character

The EXPLANATION: This function RETURNS the length of the transformed string, not including the terminating null character.



Discussion

No Comment Found

Related InterviewSolutions