Why can’t you call invariants() as the first line of your constructor?


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

Post New Answer

More C++ General Interview Questions

Explain deep copy?

0 Answers  


What is c++ best used for?

0 Answers  


Write a program to interchange 2 variables without using the third one.

0 Answers  


How to get the current position of the file pointer?

0 Answers  


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

0 Answers  






What does n mean in c++?

0 Answers  


Generally variables are stored in heap memory. When he variables are created in stack?

4 Answers   Persistent,


What is the difference between new/delete and malloc/free?

1 Answers  


Can you declare an array without a size in c++?

0 Answers  


What does #define mean in c++?

0 Answers  


What things would you remember while making an interface?

0 Answers  


Explain rethrowing exceptions with an example?

0 Answers  


Categories