Describe private, protected and public – the differences and give examples.


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

Post New Answer

More C++ General Interview Questions

Show the declaration for a pointer to function returning long and taking an integer parameter.

0 Answers  


What is double in c++?

0 Answers  


Can a class be static in c++?

0 Answers  


What is difference between c++ and c ++ 14?

0 Answers  


given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you

2 Answers  






Is c++ built on c?

0 Answers  


What is a storage class? Mention the storage classes in c++.

0 Answers  


Write a c program for binary addition of two 8 bit numbers.

0 Answers   TCS,


Is map sorted c++?

0 Answers  


What you mean by early binding and late binding? How it is related to dynamic binding?

1 Answers  


What do you mean by const correctness?

0 Answers  


What are the important differences between c++ and java?

0 Answers  


Categories