Question 7Asked in UGC NET Computer Science, June 2014 (Paper II & III, Selected Questions)

When we pass an array as an argument to a function, what actually gets passed?

  1. AAddress of the array
  2. BValues of the elements of the array
  3. CBase address of the array
  4. DNumber of elements of the array
Show answerHide answer

Correct answer: (C) Base address of the array

Explanation

Base address of an array is the starting address of an array. One can easily access to all the cells of an array if information about this can be achieved.

From UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions)

This is question 7 of UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.