Floating point representation and output seems to be compiler dependent?



Floating point representation and output seems to be compiler dependent?..

Answer / rohit sah

Regrettably, yes. The action of ios::setprecision() varies among compilers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What can c++ be used for?

0 Answers  


What is the limitation of cin while taking input for character array?

0 Answers  


Should I learn c++ c?

0 Answers  


What is a multiset c++?

0 Answers  


What is the difference between static global and global ?

2 Answers   CA,






What is encapsulation in C++? Give an example.

0 Answers   HAL, Honeywell, Zomato,


What is a class definition?

0 Answers  


Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.

0 Answers   TCS,


What are structures and unions?

0 Answers  


How to avoid a class from instantiation?

8 Answers   Symphony,


What is an undefined behavior and sequence points

0 Answers  


How are pointers type-cast?

0 Answers   iNautix,


Categories