Answer to Question #35349 in C++ for Rafeef

Question #35349
where is the error :(

# include<iostream>
using namespace std;
void sumq ( int a[],int si3e,int * sum){
int i;
for ( i=0;i<si3e;i++)
*sum+=a[i];
}
void main ( int s[3],int w,int e){
int i;
for ( i =0;i<3;i++)
cin>>s[i];
sumq(s,3,&e);
cout<<e;
}
1
Expert's answer
2013-09-25T12:52:34-0400
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-35349.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS