Exception Handling in C++

Introduction Exception handling is an important & powerful tool for developing robust and reliable software in C++, as it provides a way to handle errors and unexpected situations in a controlled and consistent manner. Definition Exception handling is a mechanism in C++ that allows a program to handle unexpected or Read more…

Loading

Polymorphism in C++

Introduction of Polymorphism in C++ Polymorphism in C++ is one of the most important features of object-oriented programming. It simply means “one name multiple forms‟. The word polymorphism consists of two Greek words – ‘poly’ means many/several and ‘morphs’ means form/structure, which signifies the many uses of these operators and Read more…

Loading

Operator Overloading in C++

Introduction Operator overloading in C++ also forms the basis of C++’s approach to I/O. When an operator is overloaded, none of its original meanings/qualities are lost. After overloading the appropriate operators, we can use objects in expressions in just the same way that we use C++’s built-in data types. Not Read more…

Loading

Inheritance in C++

Introduction of Inheritance in C++ Inheritance in C++ is one of the object-oriented paradigm’s most important, useful, essential, fundamental & prime features. Definition of Inheritance in C++ Inheritance is the process by which one or many new classes (derived/sub/ extended/child/descendant classes) are created from existing classes (called base/super/parent /ancestor /master classes). Read more…

Loading

Constructor and Destructor in C++

Introduction of Constructor and Destructor in C++  With the help of a constructor and destructor in C++, we can initialize and destroy the memory occupied by variables/data of user-defined data type (class) by using a specialized function as a constructor and destructor in object-oriented programming. In Constructor and Destructor in Read more…

Loading

Class and Object in C++

Class and Object in C++ are the basic and common structures in C++ or OOPs. Class in C++ Click this link for details Object in C++ Click this link for details Member/Data Member(Member Data) & Member Function of a Class  Member of a class uses data variables and functions. The Read more…

Loading

Terminology in C

There are following C-related terms are used below in the Terminology in C topics. Expression An expression is a sequence of operators and operands that does some specific manipulation. It is a combination of variables, constants, and operators written according to the syntax of C language. In C, every expression evaluates to Read more…

Loading

Control Statements in C

Control Statements in C Control statements in C themselves are statements, when they are executed, a control structure controls the execution of other statements: e.g., deciding whether or not to execute some statement; deciding which one of a pair of statements to execute; re-executing a statement, etc. Many control structures Read more…

Loading

Keywords Variables and DataTypes in C

The Keywords, Variables, and DataTypes in C are described below:- Character Set : A character set is a collection of various characters used in the program. The C language character set has alphabets, numbers, and special characters. Every character set contains a distinct code value for each character in the Read more…

Loading

Fundamentals in C

History of Fundamentals in C Fundamentals in C is a basic computer programming language for other languages. C is a programming language developed at AT&T’s Bell Laboratory of USA in 1972. It was designed and written by Dennis Ritchie. Dennis Ritchie inherited the features of B and BCPL programming language Read more…

Loading