-
What is the output of this program?
#include
using namespace std;
int main()
{
int num = 12;
if (num < 13)
{
T:
cout << num;
goto T;
}
break;
return 0;
}
-
- 12
- 13
- Compilation Error
- Runtime Error
- None of these
Correct Option: C
Because the break statement need to be presented inside a loop or a switch statement.