adplus-dvertising
frame-decoration

Question

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.

a.

Only 1 is correct.

b.

Only 2 is correct.

c.

Both 1 and 2 are correct.

d.

Both 1 and 2 are incorrect.

Answer: (c).Both 1 and 2 are correct.

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

Similar Questions

Discover Related MCQs

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

Q. The position number contained within a square brackets e.g. my_array [5], is referred as

Q. A one dimensional array is always considered as

Q. Array that are declared static are initialized when

Q. One-dimensional array of two-dimensional arrays is called

Q. Tables or arrays that require two subscripts to identify a particular element are called

Q. The objects of an array is called as

Q. An array of arrays is called

Q. How many kinds of elements an array can have?

Q. Float a [3] = {10.2, 33.4, 44.4}; is an example of

Q. Elements of an array are numbered as 0,1,2,3