What is class invariant in c++?


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

Post New Answer

More C++ General Interview Questions

write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX

1 Answers  


What is the difference between interpreters and compilers?

0 Answers  


Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,


How is c++ different from java?

0 Answers  


Write a program to get the value of sin (x) using a library function , when x is given in degrees.

1 Answers  






In a function declaration what does extern means?

0 Answers   Flextronics,


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.

1 Answers  


Why are pointers used?

0 Answers  


Write about the stack unwinding?

0 Answers  


What is the difference between = and == in C?

16 Answers   Christ University, Intel,


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 polymorphism & list its types in c++?

0 Answers  


Categories