- How do function pointers in C work? - Stack Overflow
356 Function pointers in C can be used to perform object-oriented programming in C For example, the following lines is written in C: String s1 = newString(); s1->set(s1, "hello"); Yes, the -> and the lack of a new operator is a dead give away, but it sure seems to imply that we're setting the text of some String class to be "hello"
|