Sail E0 Webinar
Question


What is the output of this program?


1.
#include
2.
using namespace std;
3.
void mani()
4.
void mani()
5.
{
6.
cout
Options:
A .  hai
B .  haihai
C .  compile time error
D .  none of the mentioned
Answer: Option C

We have to use the semicolon to declare the function in line 3. If we did means, the program 

will execute.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers