Which statement is correct about carbon dating and index fossils?

Index fossils are used for absolute dating, but carbon dating is not.
Carbon dating is used for absolute dating, but index fossils are not.
They are both used to determine the absolute ages of rocks and fossils.
They are both used to determine the relative ages of rocks and fossils.

Index fossils are used for relative dating, but carbon dating is used for absolute dating.