1.

What will be the output of the following program?

#include<iostream.h>
long BixFunction(int x, int y = 5, float z = 5)
{ return(++x * ++y + (int)++z);
}
int main()
{ cout<< BixFunction(20, 10); return 0;
}

A. 237
B. 242
C. 240
D. 35
E. The program will report error on compilation.
Answer» B. 242


Discussion

No Comment Found

Related MCQs