Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
2-D Array- C program:
Define a two dimension array using c.
void convert ( int a[10][10] , int[] , int , int);
void main()
{
clrscr();
int a[10][10], b[100], n, m, i, j;
cout<<"enter the number of rows of the array : ";
cin>>n;
cout<<"enter the number of columns of the array : ";
cin>>m;
for (i=0;i { for(j=0;j { cout<<"enter element "< cin>>a[i][j]; } } convert (a,b,n,m); cout< cout<<"the converted array is :"< for(i=0;i<(m*n);i++) { cout< } getch(); } void convert (int a[10][10] , int b[100] , int n , int m) { int i,j,k=0; for(i=0;i { for(j=0;j { b[k]=a[i][j]; k++; } } }
for(j=0;j { cout<<"enter element "< cin>>a[i][j]; } } convert (a,b,n,m); cout< cout<<"the converted array is :"< for(i=0;i<(m*n);i++) { cout< } getch(); } void convert (int a[10][10] , int b[100] , int n , int m) { int i,j,k=0; for(i=0;i { for(j=0;j { b[k]=a[i][j]; k++; } } }
cout<<"enter element "<
cin>>a[i][j];
}
convert (a,b,n,m);
cout< cout<<"the converted array is :"< for(i=0;i<(m*n);i++) { cout< } getch(); } void convert (int a[10][10] , int b[100] , int n , int m) { int i,j,k=0; for(i=0;i { for(j=0;j { b[k]=a[i][j]; k++; } } }
cout<<"the converted array is :"< for(i=0;i<(m*n);i++) { cout< } getch(); } void convert (int a[10][10] , int b[100] , int n , int m) { int i,j,k=0; for(i=0;i { for(j=0;j { b[k]=a[i][j]; k++; } } }
for(i=0;i<(m*n);i++)
cout<
getch();
void convert (int a[10][10] , int b[100] , int n , int m)
int i,j,k=0;
for(i=0;i { for(j=0;j { b[k]=a[i][j]; k++; } } }
for(j=0;j { b[k]=a[i][j]; k++; } } }
b[k]=a[i][j];
k++;
Program to show the ascii value of characters: int main() { int one_char; cout one_char = getch();
Described "pure virtual" member function?
Why should I employ new instead of truthful old malloc()? A: Constructors/destructors, type safety, overridability. Constructors/destructors: unlike malloc(sizeof(Fred)), new
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
WAP TO PRINT NUMBERS FROM 1-50 WHICH ARE DIVIDED BY 7 void main () { int a; clrscr (); a=1; while (a { if (a%7==0) printf ("%d\n",a); a++; } ge
what is the diffeerence between c and c++
Mention clearly about srand and rand().
Question 1 Write a program that accepts a 3x3 matrix from the user and finds the transpose of it Question 2 Explain Brief about class and objects. Also describe friend functi
Write a program to calculate the average of ten numbers #include stdio.h /* Only this header is needed since only IO are used */ void main() { char
Static Member Functions All the objects of the class share static data members of a class. The example above demonstrates how to keep track of all the objects of a class which
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd