Q: What is the main feature of locale in C++?
Solution: A locale is a set of features that are culture-specific, which can be used by programs to be more portable internationally.
Q: Which objects information is loaded in locale object?
Solution: A locale object contains information about which facet objects constitute a locale, and is each one of these facet objects that implements specific features as member functions.
Q: How many categories are available in facets?
Solution: There are 6 categories of facet in c++. They are collate, ctype, monetary, numeric, time and messages.
Q: What kind of locale does every program is having in C++?
Solution: Every program has a single locale object which is its global locale.
Q: What will the monetary facet will do?
Solution: Monetary facet will handle formatting and parsing of monetary values.
Q: Which header file is used with input and output operations of C in C++?
Solution: Input and Output operations of c can be performed in C++ using the C Standard Input and Output Library.
Q: Which will be used with physical devices to interact from C++ program?
Solution: C++ library uses streams to operate with physical devices such as Keyboards, Printers, Terminals or with any other type of files supported by the system.
Q: How many streams are automatically created when executing a program?
Solution: There are streams that are automatically created when executing a program. They are stdin, stdout and stderr.
Q: How many indicators are available in c++?
Solution: There are three indicators are available in C++. They are Error indicator, End-Of-File indicator and Position indicator.
Q: What is the benefit of c++ input and output over c input and output?
You Have Score    | /10 |