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 Class Member (Data Member/Member Data & Member Function)  Member of a class in C++ usually consists of data variables 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

Reference Books and Websites in C

List of Reference Books and Websites in C Reference Books in C Slno Name of Books Author Publications 01. The C Programming Language Kernighan & Richie PHI Publications 02. Programming with C Byron Gottfried Schaum Outline, Tata Mc Graw Hill 03. Computer Science A structured programming approach using C Behrouza Read more…

Loading

Difference Between in C

Click this link to see the Difference Between C and C++           Difference between Nested If-Else and Switch Case Statement Slno. Nested if-else Statement Switch Case Statement 1. Its execution is depend on the expression value inside the statement. Its execution is determined & controlled by Read more…

Loading