Report Bug
Qus : In C, if you pass an array as an argument to a function, what actually gets passed?
QusC में, यदि आप किसी फ़ंक्शन के तर्क के रूप में एक सरणी पास करते हैं, तो वास्तव में क्या पारित होता है?

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


Solution
C. Base address of the array



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



Report Bug