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...

A(n) ________ engine searches other search engines

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is a centrally hosted and managed desktop environment with the capability of spanning multiple offices across various countries in which each user’s desktop instance is dynamically provisioned?

A. VPN B. IaaS C. VDI D. SaaS

Computer Science & Information Technology