Why do we need a break and continue statement? Define formal argument and actual argument in function with examples. Identify and list the errors in the following code.

int main(){
    int a,b,c
    scanf("%d%d%d, &a, &b, &c);
    sum(a, b, c);
    return -1;
}

void sum(int x, int y, int z){
    int sum;
    sum = a + b + c;
    return sum;
}

This answer is restricted. Please login to view the answer of this question.

Login Now
Leave your Answer:

Click here to submit your answer.

s
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments