-
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;
}
-
- The value of Num is 10
- The value of Num is 100
- The value of Num is 1000
- Compilation Error
- None of these
Correct Option: B
In this program, we are just printing the declared values and it's id.