ALIASOBJ - { cout<<p; } void main() {...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include<iostream.h> #include<conio.h> class fe { int p; public: void get(int); void put(); }; } void fe::get(int a) { p=a; } void fe::put()
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { cout&lt;&lt;p; } void main() { clrscr(); fe a,b,c; a.get(5); b.get(10); c=b; a.put(); b.put(); c.put(); getch(); }...
View Full Document

This note was uploaded on 10/25/2010 for the course CMPN SEM1 taught by Professor Thakur during the Fall '06 term at University of Mumbai.

Ask a homework question - tutors are online