Skip to content

CPP Programms

  1. Home>
  2. CPP Programms>
  3. Page 3

Static Keyword in CPP

  • Post author:admin
  • Post published:August 7, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

When we declare the static keyword with variables. Then only one copy of that variable will exist and all the object of the class will share the static variable. Static variables…

Continue ReadingStatic Keyword in CPP

Matrix Addition In CPP

  • Post author:admin
  • Post published:August 7, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

#include<iostream.h> #include<conio.h> main() { clrscr(); int m[3][3],n[3][3],o[3][3]; for (int i=0;i<=2;i++) // m input { for (int j=0;j<=2;j++) { cout <<"enter matrix elements"; cin >> m[i][j]; } } for (i=0;i<=2;i++) //…

Continue ReadingMatrix Addition In CPP

Matrix Program in CPP

  • Post author:admin
  • Post published:August 7, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

This program will take input from user a 3x3 matrix and print it into the form of matrix. #include<iostream.h> #include<conio.h> main() { clrscr(); int m[3][3]; int i; for (i=0; i…

Continue ReadingMatrix Program in CPP

Largest Number Program In CPP

  • Post author:admin
  • Post published:August 7, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

CPP program to find out the largest of three given numbers. The program will accept three numbers and then print the largest of three numbers.  In this program, if statement…

Continue ReadingLargest Number Program In CPP

Constructor Overloading in CPP

  • Post author:admin
  • Post published:August 7, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

Constructor overloading: When two or more than two constructors with the same name are there. but different in parameters is called constructor overloading. #include<iostream.h> #include<conio.h> class demo { public : demo()…

Continue ReadingConstructor Overloading in CPP

Operator Overloading In CPP

  • Post author:admin
  • Post published:August 7, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

Operator Overloading: Behavior can be changed by using operator overloading. And also this can be used to redefine the meaning of the operator. #include<iostream.h> #include<conio.h> class A { public: int i;…

Continue ReadingOperator Overloading In CPP

Inheritance in CPP

  • Post author:admin
  • Post published:August 7, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

Inheritance is the process by which object of one class acquires the properties of the object of another class. The class from which properties are inherited is called base class…

Continue ReadingInheritance in CPP

Pure Virtual Function In CPP

  • Post author:admin
  • Post published:August 6, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

A pure virtual function is a virtual function which has no definition in the base class.  The definition for a pure virtual function must be there in the derived class…

Continue ReadingPure Virtual Function In CPP

Virtual Function in CPP

  • Post author:admin
  • Post published:August 6, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

A virtual function is a member function that is declared within the base class and redefined by a derived class. It is declared by the keyword virtual.  You will understand…

Continue ReadingVirtual Function in CPP

Template In CPP

  • Post author:admin
  • Post published:August 5, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

Templates are the generic data type. It converts into any type of data type automatically. We do not have to write float, int, char, string etc. Note: For both the…

Continue ReadingTemplate In CPP
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • Go to the next page

Recent Posts

  • Hello world!
  • How to publish the first blog post | Get Indexed | Google
  • 8 Ways to make money through blogging|Passive Income
  • Build a strong blogging brand | Best tips for blogging
  • Add Facebook page plugin to the blog

Recent Comments

  1. A WordPress Commenter on Hello world!
Copyright [oceanwp_date] - Design by Unique Ratlam Ajanta Talkies Road

WhatsApp us