[#17] – Exception Handling – Questions

So far we have created programs in which we assumed that user would never input wrong data, code would never have bugs and programs always work properly without any error.…

[#16] – Templates – Questions

Templates allow us to create a single function or a class for a group of similar functions or classes in a generic manner. The template declared for function is called…

[#15] – C++ Streams and Files – Questions

A program’s fundamental job is to accept some data as input and produce the required data as output. All languages provide some mechanism for performing Input/Output operations through which use…

[#13] – Inheritance – Questions

Inheritance is one of the key concept in the Object Oriented Programming language like C++, that enables you to organize classes in a hierarchical form. Just like a child inherits…

[#14] – Virtual Functions – Questions

Polymorphism is a very powerful concept that allows the design of amazingly flexible applications. Polymorphism can be defined as one interface multiple methods which means that one interface can be…

[#12] – Operator Overloading and Type Conversion – Questions

Like function overloading, C++ also support a powerful concept called operator overloading. C++ contains a rich set of operators such as +,-,*,>>,<,++ etc which work on built-in types such as…

[#11] – Constructors and Destructors – Questions

Initializing a variable is considered very helpful while making programs. We can initialize variables of built-in data types at the time of their declarations. For Example int a = 10;…

[#10] – Object and Classes – Questions

C++ is an Object Oriented Programming language. The key concepts of OOPs include classes, objects, data hiding, encapsulation, abstraction, polymorphism and inheritance. They key concept of Object Oriented Programming language…

[#9] – Pointers – Questions

Pointers are one of the most powerful features available in C++. The use of pointers offers a great degree of flexibility for manipulating data in programs and making programs quicker…

[#8] – Structures and Unions – Questions

A structure is a collection of related data items which can be of different types held together in a single unit. The data items enclosed within a structure are known…

[#7] – Arrays and Strings – Questions

An array is a collection of logically related variables of identical data type that share a common name. It is used to handle large amount of data, without the need…

[#6] – Functions – Questions

A C++ program is made up of structured sequence of statements. If a program is very large and complex, there are certain group of statements which are repeated again and…

[#5] – Control Structures – Questions

In C++, the programs include statements that are executed one after the other in a given sequence is called sequential execution of the program. But there may be some situations…

[#4] – Data Input and Output – Questions

A program’s fundamental job is to accept some data as an input and produce the required data as output. All languages provide some mechanism for performing Input/Output operations through which…

[#3] – C++ Fundamentals – Questions

C++ is a powerful programming language. Every programming language follows certain rules which are required for writing even a simple error free programs. In order to write any C++ program,…

[#2] – Preparing and Running C++ Program – Questions

C++ is a successful and most widely used Object Oriented Programming language. It is an extension of C language that not only adds Object Oriented concepts but also readdress some…

[#1] – Introduction to C++ – Questions

C++ is an object oriented programming language that allows programmers to build large and complex applications in a useful and efficient way. It enables programmers to improve the quality of…