1.

What kind of locale does every program is having in C++?(a) local locale(b) global locale(c) temp locale(d) set localeThis question was addressed to me during an interview for a job.Question is taken from Locale topic in portion Strings, Streams & Numerics in C++ of C++

Answer» CORRECT option is (B) global LOCALE

To explain I would say: Every program has a SINGLE locale object which is its global locale.


Discussion

No Comment Found

Related InterviewSolutions