1.

Which of the following library functions is used to read location dependent information?(a) localtime()(b) localeconv()(c) localcon()(d) local()This question was addressed to me in a job interview.This is a very interesting question from Date and Time Function topic in chapter C Library of C

Answer»

Right OPTION is (b) localeconv()

The explanation is: localeconv() is used to read the LOCATION dependent information. The function used to FIND the current TIME is localtime().



Discussion

No Comment Found

Related InterviewSolutions