1.

What is the output of this program?
#include 
using namespace std;
#define Function(id) cout << "The value of " #id " is "< int main()
{
int Num = 100;
Function(Num);
return 0;
}

A. The value of Num is 10
B. The value of Num is 100
C. The value of Num is 1000
D. Compilation Error
E. None of these
Answer» C. The value of Num is 1000


Discussion

No Comment Found

Related MCQs