When you create an array and pass it to a function, a pointer is actually passed to the function. Explain how this is the C language’s original call by reference technique.
What will be an ideal response?
When a program is passing an array to a function (in a call statement), the address of the first element of the array is passed to the function. It is the original call by reference because the address (reference) to the array is being passed.
Computer Science & Information Technology
You might also like to view...
The process of running benchmark tests is known as benchmarking
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following are also known as integrated circuit cards?
A. smart cards B. token cards C. memory cards D. proximity cards
Computer Science & Information Technology