Vidyalelo
C++ Programming · Q126

Functions and Procedures in C++

Programming · C++ Programming · question 126

Q126

What will be the output of the following C++ code? #include using namespace std; int main () cout << "Value of __LINE__ : " << __LINE__ << endl; cout << "Value of __FILE__ : " << __FILE__ << endl; cout << "Value of __DATE__ : " << __DATE__ << endl; cout << "Value of __TIME__ : " << __TIME__ << endl; return 0;

A.
5
B.
details about your file
Answer
C.
compile time error
D.
runtime error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board