title: What good is a function pointer inside a struct in c?
body: <p>I guess using a function pointer inside a struct has something to do with encapsulating a function within a structure...? If so, then how exactly is this achieved??  </p>
  
  <p>And what good does it bring to have a function pointer inside a struct rather than simply defining the function?</p>