C Tutorial: polymorphism in C

Polymorphism (as in object orientation in Java) is possible in C. Here’s how! From manual extensibility via variants (enum switch), to emulating vtables, here are some ways we use to add polymorphism to C. This was cast as an office hour for the GWU OS class associated with the Evening OS Hour (@ ). The associated files can be found at
Back to Top