| Other C++ General Interview Questions |
|| Asked @
|Definition of class?
|What are the differences between a struct and a class in
|What is optimization in c++?
when using volatile.optimization is not possible..what does
|show that among any group of five (not necessary consecutive
) integers, there are two with the same remainder when
divided by 4.
|What is a pure virtual function?
Why is it represented as = 0...how is the internal
implementation for the same
|When volatile can be used?
|what is the use of Namespace in c++.
|How to avoid a class from instantiation?
|What about Virtual Destructor?
so here qustion is both function either function
overloading or over riding;
|Give a very good method to count the number of ones in a "n"
(e.g. 32) bit number.
|Which one of the following describes characteristics of
a) The base class has access only to the public or protected
members of the derived class.
b) The derived class has non-public, inheritable, access to
all but the private members of the base class.
c) The derived class has access to all members of the base
d) The private members of the base class are visible within
the derived class.
e) Public members of the derived class are privately
accessible from the base class.
|For more C++ General Interview Questions Click Here |