adplus-dvertising
frame-decoration

Question

Which of the following statement is correct?

a.

Once a reference variable has been defined to refer to a particular variable it can referto any other variable.

b.

A reference is indicated by using && operator.

c.

Once a reference variable has been defined to refer to a particular variable it cannot refer to any other variable.

d.

A reference can be declared beforehand and initialized later.

Answer: (c).Once a reference variable has been defined to refer to a particular variable it cannot refer to any other variable.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following statement is correct?

Similar Questions

Discover Related MCQs

Q. Which of the following statements is correct?
1. A reference is not a constant pointer.
2. A referenced is automatically de-referenced.

Q. Which of the following statements is correct?
1. An array of references is acceptable.
2. We can also create a reference to a reference.

Q. Which of the following statement is correct?

Q. 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.

Q. 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.

Q. Reference is like a _____.

Q. Which of the following statement is correct?

Q. Which of the following statement is correct?

Q. Which of the following statement is correct?

Q. Which of the following statements is correct?
1. Pointer to a reference and reference to a pointer both are valid.
2. When we use reference, we are actually referring to a referent.

Q. Referring an element outside the array bounds is a

Q. Each element of an array is searched against the searching key, is the specialty of

Q. A one-dimensional array of one-dimensional arrays is called

Q. The sequence of objects that have the same type, is called

Q. The binary search algorithm uses

Q. A character array can be initialized using

Q. For finding an object in an array starting from the beginning and inspecting each element one after the other, until the object is found is called as

Q. A consecutive group of memory locations that all have the same name and the same type, is called as

Q. Which from the following technique is used for finding a value in an array?

Q. For defining their own types programmer's uses