Explain encapsulation in C++.


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

Post New Answer

More C++ Interview Questions

Define type casting in C++.

0 Answers   Amdocs,


C++ Public access specifier instead of Private – What is bad ?

0 Answers  


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  


Can we use THIS Pointer in static function – Reason in C++?

0 Answers  






What is an algorithm (in terms of the STL/C++ standard library)?

0 Answers   Amazon,


Explain the difference between C and C++.

0 Answers   Accenture,


How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

0 Answers   Adobe,


Briefly explain various access specifiers in C++.

0 Answers   Amdocs,


What is a memory leak in C++?

0 Answers   Agilent,


What is the 4 difference between delete[] and delete?

0 Answers   Alter,


What is C++11?

0 Answers   Adobe,


Categories