C++ Programming is a general purpose Object oriented programming (OOP) language and it is an extension of c programming language.
What is object oriented programming: OOP is a programming model or paradigm in which everything is based on objects.
There are different features of object oriented programming language such as everything is object, emphasis on data rather than procedures.
Lets see C++ programs
Basic Programs
- Hello world program
- Print number entered by user
- Addition of two numbers
- Find Factorial in cpp
- Program to check whether number is even or odd
- Print odd Numbers till N
- Print a to z alphabets
- Display largest of two numbers
- Check whether year is leap year or not
- Print Fibonacci series
- Find power of number in cpp
- Print 1 to 100 numbers
- Reverse given number
- Swapping of two numbers in c++ (without using third variable)
Programs using functions
- Simple function program
- Add two numbers using function
- Swap two numbers using function
- Swap two numbers using call by value
- Swap two numbers using call by reference
- Find Max number using function
- Default arguments to the function
- Function overloading