Floating point representation and output seems to be compiler dependent?
Answer Posted / rohit sah
Regrettably, yes. The action of ios::setprecision() varies among compilers.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is pure virtual function? Or what is abstract class?
Differentiate between late binding and early binding. What are the advantages of early binding?
What is the need of a destructor? Explain with the help of an example.
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Why was c++ made?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
Do you know the use of vtable?
What are pointer-to-members in C++? Give their syntax.
Why can templates only be implemented in the header file?
What is private inheritance?
Define a pointer to a data member of the type pointer to pointer?
What c++ library is string in?
What is endl c++?
Can member data be public?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?