Cellular respiration and photosynthesis are opposite processes in a way, because photosynthesis takes light energy and stores it as glucose, while cellular respiration takes glucose and transforms it into chemical energy (ATP).
This means the best way of representing this would be the following:
This is equivalent to diagram B.