Question
What is the output of this program?
#include < iostream >
using namespace std;
#define MAX 10
int main()
{
int num;
num = ++MAX;
cout
Answer: Option C
Was this answer helpful ?
Macro Preprocessor only replaces occurance of macro symbol with macro symbol value, So we can't increment the value.
Was this answer helpful ?
Submit Solution