1 views

Uploaded by sakharam_gawade

save

- EXP5_5
- EXP3_3
- EXP4_2
- EXP4_3
- EXP3_4
- exp1_2(OOP)
- EXP5_2
- EXP4_4
- exp1_3(OOP)
- EXP5_3
- EXP3_2
- EXP4_1
- EXP3_1
- exp1_4(OOP)
- exp13
- EXP6_2
- EXP12
- Exp 10
- EXP7_2
- EXP6_1
- EXP7_4
- EXP8_2
- EXP11
- EXP7_3
- EXP8_1
- EXP7_1
- EXP6_3
- EXP8_3
- exp13
- dt manual (10)
- EXP12
- About Blank
- Exp 10
- dt manual (6)
- dt manual (13)
- Aritificial Intelligence EXP1
- EXP11
- dt manual (8)
- dt manual (9)
- dt manual (14)
- dt manual (7)
- dt manual (11)
- dt manual (12)
- dt manual (5)
- dt manual (2)
- OOP ch1 (3)
- OOP ch1 (10)
- dt manual (3)
- OOP ch1 (8)
- OOP ch1 (4)
- dt manual (4)
- OOP ch1 (5)
- OOP ch1 (6)
- OOP ch1 (12)
- dt manual (1)
- OOP ch1 (7)
- OOP ch1 (11)
- OOP ch1 (9)

You are on page 1of 1

h> class test { static int count; public: static void destroy() { cout<<"\n\nDestructor msg:Object number "<<count<<" destroyed..."; count--; } static void create() { count++; cout<<"\n\nConstructor msg object number "<<count<<" created..."; } test() { test::create(); } ~test() { test::destroy(); } }; int test :: count; void main() { clrscr(); cout<<"Inside the main block...."; cout<<"\n\nCreating first object t1..."; test T1; { //block 1 cout<<"\n\nInside block 1.."; cout<<"\n\nCreating two more objects T2 and T3..."; test T2,T3; cout<<"\n\nLeaving block 1..."; } cout<<"\n\nBlock inside the main block"; getch(); }

Page 1

Print to PDF without this message by purchasing novaPDF (http://www.novapdf.com/)

- EXP5_5Uploaded bysakharam_gawade
- EXP3_3Uploaded bysakharam_gawade
- EXP4_2Uploaded bysakharam_gawade
- EXP4_3Uploaded bysakharam_gawade
- EXP3_4Uploaded bysakharam_gawade
- exp1_2(OOP)Uploaded bysakharam_gawade
- EXP5_2Uploaded bysakharam_gawade
- EXP4_4Uploaded bysakharam_gawade
- exp1_3(OOP)Uploaded bysakharam_gawade
- EXP5_3Uploaded bysakharam_gawade
- EXP3_2Uploaded bysakharam_gawade
- EXP4_1Uploaded bysakharam_gawade
- EXP3_1Uploaded bysakharam_gawade
- exp1_4(OOP)Uploaded bysakharam_gawade
- exp13Uploaded bysakharam_gawade
- EXP6_2Uploaded bysakharam_gawade
- EXP12Uploaded bysakharam_gawade
- Exp 10Uploaded bysakharam_gawade
- EXP7_2Uploaded bysakharam_gawade
- EXP6_1Uploaded bysakharam_gawade
- EXP7_4Uploaded bysakharam_gawade
- EXP8_2Uploaded bysakharam_gawade
- EXP11Uploaded bysakharam_gawade
- EXP7_3Uploaded bysakharam_gawade
- EXP8_1Uploaded bysakharam_gawade
- EXP7_1Uploaded bysakharam_gawade
- EXP6_3Uploaded bysakharam_gawade
- EXP8_3Uploaded bysakharam_gawade

- exp13Uploaded bysakharam_gawade
- dt manual (10)Uploaded bysakharam_gawade
- EXP12Uploaded bysakharam_gawade
- About BlankUploaded bysakharam_gawade
- Exp 10Uploaded bysakharam_gawade
- dt manual (6)Uploaded bysakharam_gawade
- dt manual (13)Uploaded bysakharam_gawade
- Aritificial Intelligence EXP1Uploaded bysakharam_gawade
- EXP11Uploaded bysakharam_gawade
- dt manual (8)Uploaded bysakharam_gawade
- dt manual (9)Uploaded bysakharam_gawade
- dt manual (14)Uploaded bysakharam_gawade
- dt manual (7)Uploaded bysakharam_gawade
- dt manual (11)Uploaded bysakharam_gawade
- dt manual (12)Uploaded bysakharam_gawade
- dt manual (5)Uploaded bysakharam_gawade
- dt manual (2)Uploaded bysakharam_gawade
- OOP ch1 (3)Uploaded bysakharam_gawade
- OOP ch1 (10)Uploaded bysakharam_gawade
- dt manual (3)Uploaded bysakharam_gawade
- OOP ch1 (8)Uploaded bysakharam_gawade
- OOP ch1 (4)Uploaded bysakharam_gawade
- dt manual (4)Uploaded bysakharam_gawade
- OOP ch1 (5)Uploaded bysakharam_gawade
- OOP ch1 (6)Uploaded bysakharam_gawade
- OOP ch1 (12)Uploaded bysakharam_gawade
- dt manual (1)Uploaded bysakharam_gawade
- OOP ch1 (7)Uploaded bysakharam_gawade
- OOP ch1 (11)Uploaded bysakharam_gawade
- OOP ch1 (9)Uploaded bysakharam_gawade