

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


#include
b operator ++(b & e) { b q; q.d=e.d*e.d; return q; } main() { a x; a y; x.disp(); y= operator --(x); x.disp(); cout<<"y"<<endl; y.disp(); x++ ; x.disp(); +x; x.disp(); b u; b t; u.disp(); t=operator ++(u); t.disp(); }