class x{int a;}; class y:public x{}; main(){y k; k.a=3; } How can I access "k.a"? PS: You can't change or omit any part of the code. a...
Separate names with a comma.