Possible Duplicate:
How could one implement C++ virtual functions in C
In C++ the only difference between a class and a struct is the default access level. So you can have virtual functions in structures, inherit from structures and so on. My question is, can you also do this in C?
No you can’t. ‘virtual’ is not part of the C vocabulary, neither is ‘access level’