Explain public, protected, private in c++?


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

Post New Answer

More C++ General Interview Questions

What causes a runtime error c++?

0 Answers  


When does a name clash occur in c++?

0 Answers  


What is class invariant?

1 Answers  


What is the default access level?

0 Answers  


What is the difference between #import and #include?

0 Answers  






catch(exception &e) { . . . } Referring to the sample code above, which one of the following lines of code produces a written description of the type of exception that "e" refers to? a) cout << e.type(); b) cout << e.name(); c) cout << typeid(e).name(); d) cout << e.what(); e) cout << e;

2 Answers   Quark,


What are static variables?

0 Answers  


Explain abstraction.

0 Answers  


Define a constructor - what it is and how it might be called (2 methods)?

0 Answers  


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

0 Answers  


What is new in c++?

0 Answers  


What is a constant reference?

0 Answers  


Categories