Hi,
thanks for ur reply,actually I have executed the private nested class in Turbo C and accessed the inner class members using the object of it in main(),I got the output,so only I got confused,but its showing an error when I execute in visual C++,now I think its due to the turbo C...