Minerals are composed of multiple elements and rocks are actually made up of minerals. Take quartz for example, it's a mineral that's made up of silicon and oxygen. If we then look at the igneous rock that is referred to as granite, we'll see quartz (the main one), mica(s), and feldspar.
So your answer is B. :)