Saturday, September 24, 2016

Single Inheritance

thumbnail
Program To Illustrate The Single Inheritance : #include<iostream> using namespace std; class base { int a; protected: int ...

ALPHABET Pattern :)

thumbnail
#include <stdio.h> #include<conio.h> main() {     int i, j;     char input, alphabet = 'A';     printf("Ent...
Friday, September 23, 2016

OPERATIONS ON QUEUES

thumbnail
Program to Perform Insertion and Deletion Operations on Queues Implemented as an Array. #include<iostream> #include <string.h...

Matrix Transpose

thumbnail
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

thumbnail
Program To Find LCM of Two Numbers: #include<iostream> using namespace std; main() {     int num1,num2,min,hcf,i,lcm;     cout...

Friend Function

thumbnail
Program To Illustrate The Concept Of Friend Function: #include<iostream> using namespace std; class test; class sample {     i...

Inline Function

thumbnail
Program To Illustrate The Concept Of Inline Function: #include<iostream> using namespace std; class sample {     int x;     public: ...