1.

perror also uses error number to print the error messages.(a) True(b) FalseThis question was posed to me in examination.This intriguing question originated from File handling System Calls in portion System Programming I – Files of Unix

Answer» CORRECT answer is (b) False

Explanation: There is another library FUNCTION, PERROR which is used for PRINTING the error messages. But perror doesn’t use the errno (error number) as an argument.


Discussion

No Comment Found

Related InterviewSolutions