Question:Consider the following code:
#include<iostream> using namespace std; int main() { cout << "The value of __LINE__ is " <<__LINE__; return 0; }What will be the result when the above code is compiled and executed?
A The compilation will fail with the error - '__LINE__' : undeclared identifier
B The compilation will fail with the error - '__LINE__' unresolved identifier
C The code will compile and run without errors
D The code will crash at runtime
+ AnswerC
+ Report