Sail E0 Webinar
Question


What is the output of this program?


1.
#include
2.
using namespace std;
3.
ostream & operator
Options:
A .  5
B .  6
C .  error
D .  runtime error
Answer: Option C

In this program, there will arise an ambiguous overload for 5.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers