CPA-21-02 Web TestEngine demo

Exit VCEDump CPA-21-02 CPA - C++ Certified Associate Programmer
Question 2 of 39
0% complete
Q2 Single choice

What is the output of the program?
#include <iostream>

using namespace std;

#define SQR(x)(x*x)

int main(int argc, char *argv[]) {

int x, y=2;

x = SQR(y);

cout << x << ", " <<y;

return 0;

}

Sign in to mark questions

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

Sign in