(gdb) p c
$1 = {<Shape> = {x = 1073764735, y = -1073742648,
_vptr. = 0x8049ac4 <Circle virtual table>}, radius
= 1074292715}
(gdb) p com
$2 = {<Shape> = {x = 134514260, y = 7,
_vptr. = 0x8049ab8 <Combo virtual table>}, c
= {<Shape> = {x = 134520220,
y = 134513960, _vptr. = 0x8049ac4 <Circle
virtual table>},
radius = 1073773012}, r = {<Shape> = {x = 1073813124,
y = 134513488,
_vptr. = 0x8049ad0 <Rect virtual
table>}, width = 1073785336,
heigth = -1073742684}}
(gdb)
main() {
Shape s, *s1; Rect r, *r1;
Circle c; Combo com;
r.Print();
s1 = &r;
s1->Print();
c.Print();
}