This is C programming.
The function definition below should display20using the function call:function(5);
void function(int num1) {
int i=1, sum=0;
do{
sum=sum+num1;
i=i+1;
}while(i<>
printf("%d",sum);
return sum;
}
Identify and explain the error in the defined function.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here