SpaceX interview question

How does a compiler handle virtual functions (in C++)?