Discussion :: C++ - MCQs
-
What is the output of this program?
#include < iostream >
using namespace std;
#define PR(id) cout << "The value of " #id " is "<
int main()
{
int i = 10;
PR(i);
return 0;
}
Answer : Option A
Explanation :
In this program, we are just printing the declared values.
Be The First To Comment