What are iterators in c++?
What is purpose of abstract class?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
What would happen on forgetting [], while deallocating an array through new?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What do you understand by pure virtual function? Write about its use?
How many types of classes are there in c++?
What is data type in c++?
Explain data encapsulation?
What is a manipulator in c++?
Where is atoi defined?
What are the vectors 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.