CPA-21-02 Web TestEngine demo

Exit VCEDump CPA-21-02 CPA - C++ Certified Associate Programmer
Question 17 of 39
0% complete
Q17 Multiple choice

Which code, inserted at line 8, generates the output "100"?

#include <iostream>

using namespace std;

int fun(int);

int main()

{

int *x = new int;

*x=10;

//insert code here
return 0;

}

int fun(int i)

{

return i*i;

}

Select all that apply.

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in