Home
All posts
Saturday, September 24, 2016
Single Inheritance
Program To Illustrate The Single Inheritance : #include<iostream> using namespace std; class base { int a; protected: int ...
Read more
Friday, September 23, 2016
OPERATIONS ON QUEUES
Program to Perform Insertion and Deletion Operations on Queues Implemented as an Array. #include<iostream> #include <string.h...
Matrix Transpose
Program to Calculate Transpose of A Matrix: #include<iostream> using namespace std; main() { int a[10][10],b[10][10],m,n,i,j; ...
Least Common Multiple
Program To Find LCM of Two Numbers: #include<iostream> using namespace std; main() { int num1,num2,min,hcf,i,lcm; cout...
Friend Function
Program To Illustrate The Concept Of Friend Function: #include<iostream> using namespace std; class test; class sample { i...
Inline Function
Program To Illustrate The Concept Of Inline Function: #include<iostream> using namespace std; class sample { int x; public: ...