Friday 8 February 2013

3

Which of the following statement is correct about the program given below?

#include<iostream.h>
int BixFunction(int m)
{
m *= m;
return((10)*(m /= m));
}
int main()
{
int c = 9, *d = &c, e;
int &z = e;
e = BixFunction(c-- % 3 ? ++*d :(*d *= *d));
z = z + e / 10;
cout<< c << " " << e;
return 0;
}

A. It will result in a compile time error.
B. The program will print the output 64 9.
C. The program will print the output 64 10.
D. The program will print the output 64 11
Join me on Facebook