Phan Thị Thùy Dương
Member
What will be the output of the following C++ code?
A. hai
B. haihai
C. compile time error
D. runtime error
Code:
#include <iostream>
using namespace std;
void mani()
void mani()
{
cout<<"hai";
}
int main()
{
mani();
return 0;
}
B. haihai
C. compile time error
D. runtime error