0% found this document useful (0 votes)
78 views

C++ Important Questions

The document discusses important C++ questions organized into four units. Unit I covers topics like functions, operators, arrays, loops and OOP principles. Unit II discusses private members, aggregation, operator overloading and constructors/destructors. Unit III is about stream classes, inheritance, polymorphism and access specifiers. Unit IV defines exceptions and exception handling mechanisms in C++.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views

C++ Important Questions

The document discusses important C++ questions organized into four units. Unit I covers topics like functions, operators, arrays, loops and OOP principles. Unit II discusses private members, aggregation, operator overloading and constructors/destructors. Unit III is about stream classes, inheritance, polymorphism and access specifiers. Unit IV defines exceptions and exception handling mechanisms in C++.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy