Rewrite the following program after removing the syntax error(s) if any. Underline each correction .
(1)
#include<iostream.h>
Void main()
{
x=10,y=20;
Callfunc(x;y);
Callfunc(y);
}
Void Callfunc (int Arg1, int Arg2=20)
{
Arg1= Arg1+ Arg2
Cout<<Arg1>>Arg2;
}
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-60543.pdf
Comments
Leave a comment