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


Please Help Members By Posting Answers For Below Questions

What is endl c++?

604


Write about c++ storage classes?

747


What is the use of ::(scope resolution operator)?

646


What are the uses of static class data?

634


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

538






what is COPY CONSTRUCTOR and what is it used for?

617


describe private access specifiers?

637


How would you use the functions sin(), pow(), sqrt()?

740


What is the difference between structures and unions?

580


Write a program to find the Factorial of a number

570


What are the basics of local (auto) objects?

632


Explain binary search.

576


What do you understand by a pure virtual member function?

547


What is the auto keyword good for in c++?

622


What is different in C++, compare with unix?

605