Sail E0 Webinar
Question


What is the output of this program?


1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
/* this is comment*
6.
cout
Options:
A .  hello world
B .  hello
C .  compile time error
D .  none of the mentioned
Answer: Option C

Because the slash should need to be forward not backward.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers