What is encapsulation in c++ with example?
No Answer is Posted For this Question
Be the First to Post Answer
What is a flag in c++?
What is pure virtual function? Or what is abstract class?
What is meant by const_cast?
How do I tokenize a string in c++?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
What methods can be overridden in java?
How do you declare a set in c++?
What are the types of STL containers?
What is ios in c++?
When the design recommends static functions?
What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?
Where Malloc(), Calloc(), and realloc() does get memory?