C++ Important Questions
C++ Important Questions
Unit-I
Unit-III
1. Function(Constructor) overloading
with example 1. What are Stream classes? Explain
2. Operators in C++ formatted and unformatted I/O
3. Arrays(1D,2D). Multiplication of two functions.
matrices 2. Inheritance and its types
4. Loops in C++ with examples 3. Polymorphism and its types (Compile
5. Benefits and applications of OOPs Time(static))[Function Overloading
and Operator overloading] and
6. What is Inline function. Give example
Runtime(Dynamic) [Virtual and Pure
7. What is Function prototype. Explain Virtual Functions(Abstract Class)]with
different parameter passing examples
techniques with example
4. Various access specifiers in C++
8. Data types in C++
5. Define Base class and Derived class
9. C++ tokens and string functions. with example
10. Diff b/w POP and OOP
11. Explain Binary Search with example.
Unit-II
1. Private members
2. aggregation -
3. What is overloading? Explain
Unit-IV
operator overloading with example
1. Define Exception. Explain types of
4. What are Constructors Destructors?
exception handling mechanisms
Explain types of Constructors
(try-catch, try-multiple catch, try-catch all,
5. What is a class and object? How does
re-throwing) in C++ with examples.
it provide data encapsulation? WAP
to accept student details roll no , 2. Explain
name, marks and display the student C++ with example.
details.
6. Friend function and friend class with
examples
7. Instance and static members of a class
with examples