AMD interview question

Implement a flip flop in C? What is a pure virtual function?