nheritanc C Language
4 mins read

Implementation of Inheritance in C++ – Syntax & Example Code

Implementation of Inheritance in C++ – Syntax & Example Code, Learn how to implement inheritance in C++ with a practical example. Understand single, multiple, multilevel, and hierarchical inheritance in C++ programming. Introduction to Inheritance in C++ Inheritance is one of the core principles of Object-Oriented Programming (OOP) in C++. It allows a class (derived class) […]

C Language
2 mins read

C program to swap two numbers using pointer

In this tutorial we will going to learn how to swap two numbers using pointer. If you want to learn more about pointer then you can go through my previous post Pointers in C Programming with Examples. My System Configuration : Fujitsu A555 with 12GB RAM, OS – Kubuntu 18.04, IDE used Geany (you can […]

C Language
3 mins read

Pointers in C Programming with Examples

What is a pointer? Explain pointer arithmetic with example. Also explain use of malloc function in C programming with an example. Pointer : A pointer is a variable that points to or references a memory location in which data is stored. Each memory cell in the computer has an address that can be used to […]

C++ Syntex or Program Structure C++
1 min read

C++ Syntax or Program Structure with Working example

C++ Syntax or Program Structure with Working example : In this tutorial we will understand C++ Syntax or Program Structure with the help of a simple working programme called name.cpp, which take input and print name on screen. About C++ as per Wikipedia C++ (pronounced cee plus plus) is a general-purpose programming language. It has […]