Q.1

Which of the following statement is correct?

  • A reference is declared using * operator.
  • Once a reference variable has been defined to refer to a particular variable it can refer to any other variable.
  • A reference must always be initialized within classes.
  • A variable can have multiple references.
Q.2

Which of the following statement is correct?

  • A referenced has to be de-referenced to access a value.
  • A referenced does not need to be de-referenced to access a value.
  • A referenced has to be double de-referenced to access a value.
  • Whether a reference should be de-referenced or not depends on the type of the reference.
0 h : 0 m : 1 s