GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
3. | 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 | |
Answer: Option C | |
Explanation: | |
The statement 'C' is correct. When we pass an array as a funtion argument, the base address of the array will be passed. |
|
Tutorial Link: |