Sail E0 Webinar
Question

What is the output of this program?

#include < iostream >

using namespace std;

void mani()

void mani()

{

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