Category: Programming

07
Jan
2016

Java Object and Classes

Objects in Java: An object is an instance of a class. Software objects also have a state…

07
Jan
2016

Java Object and Classes

Objects in Java: An object is an instance of a class. Software objects also have a state…

06
Jan
2016

C++ Overloading (Operator and Function)

Function Overloading in C++ #include<iostream> using namespace std; class printData { public: void print(int i) { cout<<“printing…

31
Dec
2015

C program to transpose a matrix

#include<stdio.h> int main() { int m,n,c,d,matrix[10][10],transpose[10][10]; printf(“enter the number of rows and columns of matrix\n”); scanf(“%d %d”,&m,…

30
Dec
2015

Pattern Printing:Full pyramid in C

  #include<stdio.h> int main() { int i,j,n; printf(“Enter value of n rows: “); scanf(“%d”,&n); for(i=1; i<=n; i++)…

30
Dec
2015

C problem solution:Anagrams

Anagram: #include<stdio.h> int check_anagram(char [],char []); int main() { char a[100],b[100]; int flag; printf(“Enter first string\n”); gets(a);…