Explain object slicing in c++?


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

Post New Answer

More C++ General Interview Questions

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 is c++ still popular?

0 Answers  


Is c++ vector dynamic?

0 Answers  


List different attributes in C++?

0 Answers   Ericsson,


Is c++ a pure oop language?

0 Answers  






What is Namespace?

5 Answers   HCL, Samsung,


What is a local reference?

0 Answers  


Can you write a function similar to printf()?

0 Answers  


Difference between pass by value and pass by reference?

0 Answers  


What is a c++ map?

0 Answers  


Explain the advantages of using friend classes.

0 Answers  


What is a concrete class?

1 Answers  


Categories