Profile cover photo
Profile photo
Gobs Info
6 followers
6 followers
About
Posts

Post has attachment
  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FirstProject { class Program { static void Main(string[] args) { Console.WriteLine(“My First C# Program”); } } }
Add a comment...

Post has attachment
/PROGRAM TO PASS WHOLE 2-D ARRAY TO A FUNCTION/   #include #include void fun(int[][],int,int); void main() { int a[2][3]={1,2,3,4,5,6},i,j; clrscr(); fun(a,2,3); printf(“\n\n\n”); for(i=0;i<2;i++) { for(j=0;j<3;j++) { printf(” \n NEW ARRAY\t…
Add a comment...

Post has attachment
/PROGRAM TO PASS A WHOLE 2-D ARRAY TO A FUNCTION/     #include #include   void fun(int[][],int,int); void main() { int a[][2]={{1,2},{3,4}}; clrscr(); fun(a,2,2); getch(); }   void fun(int x[][2],int m,int n) { int i,j; for(i=0;i<m;i++) {…
Add a comment...

Post has attachment
/* PROGRAM TO PASS A WHOLE ARRAY A TO A FUNCTION*/     #include #include   void fun(int[],int); void main() { int a[]={1,2,3,4,5},i; clrscr();   fun(a,5); getch(); }   void fun(int x[],int n) { int j; for(j=0;j<n;j++) printf(“\ta%d=%d”,j,x[j]); }
Add a comment...

Post has attachment
/* PROGRAM TO TRANSFER AN ELEMENT BY PASSING ADDRESS OF INDIVIDUAL ARRAY ELEMENT TO FUN*/   void fun(int *); void main() { int a[5]={1,2,3,4,5},i; clrscr();   for(i=0;i<5;i++) { fun(&a[i]); } getch(); }   void fun(int *x) { printf(“\t%d”,*x); }
Add a comment...

Post has attachment
/PROGRAM TO TRANSFER AN INDIVIDUAL ELEMENT TO A FUNCTION/   #include #include void fun(int x) { printf(“\t%d”,x); }     void main() { int a[5],i; clrscr(); for(i=0;i<5;i++) { printf(“Enter a[%d]= “,i); scanf(“%d”,&a[i]); }   for(i=0;i<5;i++) {…
Add a comment...

Post has attachment
/* PROGRAM TO READ AND PRINT A 3-D ARRAY */   #include #include void main() { int a[2][2][2],i,j,k; clrscr();   for(i=0;i<2;i++) { for(j=0;j<2;j++) { for(k=0;k<2;k++) { printf(“\n\t enter a[%d][%d][%d]=”,i,j,k); scanf(“%d”,&a[i][j][k]); } } }  …
Add a comment...

Post has attachment
/PROGRAM TO SORT THE ELEMENTS OF AN ARRAY IN ASCENDING ORDER/   #include #include void main() { int a[10],i,n,j,t,k; clrscr(); printf(“\nSize of Matrix: “); scanf(“%d”,&n);   for(i=0;i<n;i++) { printf(“Enter element %d: “,i+1); scanf(“%d”,&a[i]); }  …
Add a comment...

Post has attachment
/*PROGRAM TO CHECK WHETHER A MATRIX IS SKEW SYMMETRIC OR NOT */   #include #include void main() { int a[3][3],b[3][3],i,j; clrscr();   for(i=0;i<3;i++) { for(j=0;j<3;j++) { printf(“\nEnter a%d%d= “,i,j); scanf(“%d”,&a[i][j]); } }   for(i=0;i<3;i++) {…
Add a comment...

Post has attachment
/*PROGRAM TO CHECK WHETHER A MATRIX IS SYMMETRIC OR NOT */   #include #include void main() { int a[3][3],i,j; clrscr();   for(i=0;i<3;i++) { for(j=0;j<3;j++) { printf(“Enter a[%d][%d]=”,i,j); scanf(“%d”,&a[i][j]); } }   for(i=0;i<3;i++) { for(j=0;j<3;j++)…
Add a comment...
Wait while more posts are being loaded