Examveda

What will be the output of the following C++ code?
#include <iostream>
using namespace std;
#define SquareOf(x) x * x
int main()
{
    int x;
    cout << SquareOf(x + 4);
    return 0;
}

A. 16

B. 64

C. compile time error

D. 75386824

Answer: Option D


Join The Discussion

Related Questions on Functions and Procedures in C plus plus