Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 252 Bytes

notes.md

File metadata and controls

7 lines (5 loc) · 252 Bytes

Note

Function pointers in struct

  • In C, struct can not have member functions, but function pointers can be defined

Construct functions

  • Use construct functioins to initialize function pointers so that struct can have its "member functions"