Apple interview question

Explain how a prepared statement works