Question 4 (8) ============== The Foo Family -------------- .. plantuml:: @startuml interface IFoo { + bar() } class AFoo { + bar() } class BFoo { + bar() } IFoo <|.. AFoo IFoo <|.. BFoo @enduml .. literalinclude:: code/the-foos.h :language: c++ :caption: :download:`code/the-foos.h` Usage ----- **Given the following usage:** .. literalinclude:: code/undefined-access.cpp :language: c++ :caption: :download:`code/undefined-access.cpp` **Which of the following statements is true?** .. list-table:: :align: left :header-rows: 1 * * Statement * True * * A call as shown will cause undefined behavior .. code-block:: console $ ./program a ...?... * .. list-table:: :align: left :header-rows: 1 * * Statement * True * * A call as shown will cause undefined behavior .. code-block:: console $ ./program b ...?... *