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!
Addition of array elements:
#define rows 3
#define cols 3
void main()
{
int i=0,j=0,sum=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("%3d ",arr[i][j]);
printf("\n");
printf("\n Sum of matrix\n");
for(i=0;i<=rows-1;i++)
sum=sum+arr[i][j];
printf("\tsum=%d\n",sum);
Program for Swapping the Two Integers For example, Swapping the two value int x=4,y=6,t; t
C Program for REVERSE THE WORD IN STRING #include conio.h> #include stdio.h> #include string.h> void main() { char a[50],b[25][25],temp; i
Both malloc & new functions are utilized for dynamic memory allocations & the basic difference is: malloc need a special "typecasting" while it allocates memory for eg. if the poin
Define virtual function?
THIS PROGRAM IS TO DISPLAY A STOCK CONTAINING ITEM CODE,ITEM NAME,PRICE AND ANOTHER STOCK WITH CODE & QUANTITY AND DISPLAY COMPLETE INFORMATION #include #include #include
Introduction: This assignment requires a knowledge of variables (integers, char types), loops, conditionals, switch, functions, char arrays, string arrays, number arrays, struc
Assume we wish to partition the square roots of the integers from 1 to 100 in to two piles of fifty numbers every, such that the sum of the numbers in the first pile is as close as
Recently social media has been flooded by fb posts, tweets, news articles about only thing demonetization.A great debate is ongoing over it. Most of the people discussing in social
create two array names and grade .in first array you have to store thease 10 names 1.a,2.3.r,4.s,5.l,6.k,7.n,8.b,9.z,10.d you have to enter grades for thease students.te program mu
In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, suc
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd