1.

What is the output of this program?
#include 
using namespace std;
void square (int *p)
{
*p = (*p + 3) * (*p);
}
int main ( )
{
int n = 15;
square(&n);
cout << n;
return 0;
}

A. 207
B. 270
C. 15
D. 3
E. None of these
Answer» C. 15


Discussion

No Comment Found