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 |
What are move semantics?
What are virtual constructors/destructors?
Is it possible to have a recursive inline function in c++?
Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?
Why do we need pointers?
Write a program to interchange 2 variables without using the third one.
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
When should you use global variables?
Why do we learn c++?
Ask to write virtual base class code?
Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;
What is class invariant in c++?