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!
C program to reverse the elements of array:
#define rows 3
#define cols 3
void main()
{
int i=0,j=0;
int arr[rows][cols];
for (i=0; i<=rows-1; i++)
for(j=0;j<=cols-1;j++)
printf("Enter elements (%d,%d)\n",(i+1),(j+1));
scanf("%d",&arr[i][j]);
}
printf("\t");
for(j=0;j<3;j++)
printf("%d ",arr[i][j]);
printf("\n");
printf("\n Revers of matrix\n");
for(i=rows-1;i>=0;i--)
Precautions with function overloading Function overloading is a boon to designers, since dissimilar names for same functions need not be thought of, which often is a cumbersome
explain me for loop
Use of random function: int main(void) { int i,j; for(j=0;j { // randomize(); for(i=0;i printf("%d\n", ran
Pointers are just numbers, representing addresses in memory. You can add to and subtract from pointers, for instance. It is pretty easy to make mistakes with pointer math, however,
Functions Overloading This a capability in which a C++ program can have several functions performing similar tasks on different data types. When an overloaded function is calle
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. #include float start
What is pointer?
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
There are ''''n'''' ants on a ''''n+1'''' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are mov
how we can code in c++ for assignment problem (operation research) method to mkinimization and mamization
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