Question: Gased on ample dass definition below, give the correct function prototype to timedion operator (input stream) #include using namespace std; class sample{ int x,y; public:

Gased on ample dass definition below, give the correct function prototype to timedion operator (input stream) \#include using namespace std; class sample\{ int x,y; public: sample(int a=1, int b=2 ) {x=a;y=b; \} ; A friend istream\& operator (istream\&, sample\&); 8. friend sample\& operator>(1stream\&, sample\&); istream\& operator ( istream\&, sample\&); friend ostream\& operator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
