The sentence that contains a subject that is a compound in form but singular in meaning is:
C. A can of frank and beans is my favorite dinner.
In this sentence, "a can of frank and beans" is a compound subject (frank and beans) that functions together as a singular entity.