What is the use of setprecision in c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible.

4 Answers   Microsoft,


What is purpose of new operator?

0 Answers  


Differentiate between an inspector and a mutator ?

0 Answers  


Explain how overloading takes place in c++?

0 Answers  


How long does this loop run: for(int x=0; x=3; x++) a) Never b) Three times c) Forever

17 Answers   Datavance, Quark, VEL, Wipro,






What is void pointer in c++ with example?

0 Answers  


Explain function overloading and operator overloading.

0 Answers  


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

0 Answers  


How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.

15 Answers   Satyam,


Describe friend function & its advantages.

0 Answers   TCS,


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

0 Answers  


What is implicit pointer in c++?

0 Answers  


Categories