62 558
Assignments Done
98,8%
Successfully Done
In June 2018

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;
}
Expert's answer

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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions