News

Once again, pointers are simply memory addresses, and to fully utilize this similarity, C provides the concept of function pointers.
For example, Shape_draw_vcall () shown in the video, dereferences the “me” pointer to get the VPTR. Next, it gets from the VPTR to the specific function pointer inside the VTABLE, such as (*draw). And ...