🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: C++ Interview Questions: all 10 questions

Quiz: C++ Interview Questions · Question 8 of 10

Which statement about references is true?

Which statement about references is true?

  1. A.A reference can be re-pointed to another variable later
  2. B.A reference can be null
  3. C.A reference must be initialised when it is declared
  4. D.A reference uses -> to reach members
Answer & explanation

Correct answer: A reference must be initialised when it is declared

Once bound, a reference always refers to the same object.

Can you get the rest right without peeking?

Take the timed Quiz: C++ Interview Questions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →