Vidyalelo
C++ Programming · Q73

C++ miscellaneous

Programming · C++ Programming · question 73

Q73

What will be the output of the following C++ code? #include using namespace std; int main() int a = 10; if (a < 15) time: cout << a; goto time; break; return 0;

A.
1010
B.
10
C.
infinitely print 10
D.
compile time error
Answer

Answer: Option D

Solution

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