Target creature gets +3/+1 until end of turn.
Exile the top card of your library. Until the end of your next turn, you may play that card.
If the target creature is an illegal target by the time the spell tries to resolve (most likely because it has left the battlefield in response), the spell will not resolve. No card will be exiled.
You pay all costs and follow all normal timing rules for a card played this way. For example, if the exiled card is a land card, you may play it only during your main phase while the stack is empty.