Arrays

Q1: In C, if you pass an array as an argument to a function, what actually gets passed?

A Value of elements in array

B First element of the array

C Base address of the array

D Address of the last element of array

ANS:C - Base address of the array

The statement 'C' is correct. When we pass an array as a funtion argument, the base address of the array will be passed.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.