Phone: +91 80884989467 Email: [email protected]
Follow us

references

Functions can be declared to return a reference type. There are reasons to make such a declaration/Which of the following reasons are correct?

  1. The information being returned is a large enough object that returning a reference is more efficient than returning a copy.
  2. The type of the function must be a R-value.






No answer description available for this question. Let us discuss.

Which of the following statements is correct?

  1. Change a reference changes the referent.
  2. We can create an array of references.






No answer description available for this question. Let us discuss.

Which of the following statement is correct about the references?






No answer description available for this question. Let us discuss.

A reference is declared using the _____ symbol.






No answer description available for this question. Let us discuss.

Which of the following statement is correct?






No answer description available for this question. Let us discuss.

Which of the following statements is correct?

  1. A reference is not a constant pointer.
  2. A referenced is automatically de-referenced.






No answer description available for this question. Let us discuss.

Which of the following statements is correct?

  1. An array of references is acceptable.
  2. We can also create a reference to a reference.






No answer description available for this question. Let us discuss.

Which of the following statement is correct?






No answer description available for this question. Let us discuss.

Which of the following statements is correct?

  1. Once the variable and the reference are linked they are tied together.
  2. Once the reference of a variable is declared another reference of that variable is not allowed.






No answer description available for this question. Let us discuss.

Which of the following statements is correct?

  1. We can return a global variable by reference.
  2. We cannot return a local variable by reference.






No answer description available for this question. Let us discuss.