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

0 votes
327 views
Anonymous User asked 14-Dec-2017 in Technology by Anonymous User
In C, if you pass an array as an argument to a function, what actually gets passed?

1 Answer

0 votes
Anonymous User answered 17-Dec-2017 by Anonymous User

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

Before moving on to the answer to the respective question….

Let us understand what language is, we discussing about…
It is a versatile, obligatory computer programming language, supporting structured programming, lexical variable scope, and iteration, while a system that is not static in nature prevents inadvertent operations. By outline, C gives builds that guide effectively to run of the typical machine instruction, and in this manner, it has discovered enduring use in applications that had some time ago been coded in low-level computing construct, including working frameworks, and in addition different application programming for PCs extending from supercomputers to embedded frameworks.
Thus, talking about if you pass an array as an argument to a function, then it passes the Base Address of the array

Cheers!