Q: 3
What is the output of the program?
#include
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;
}
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.