Vidyalelo
C++ Programming · Q170

Functions and Procedures in C++

Programming · C++ Programming · question 170

Q170

What will be the output of the following C++ code? #include using namespace std; void mani() void mani() cout<<"hai"; int main() mani(); return 0;

A.
hai
B.
haihai
C.
compile time error
Answer
D.
runtime error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board