1.

Array passed as an argument to a function is interpreted as ______________(a) Address of the array(b) None of the mentioned(c) Base address(d) No. of elements of the arrayI have been asked this question in an online interview.My doubt is from Array Reference in section Syntax Directed Definition and Translations of Compiler

Answer»

The correct choice is (C) Base address

To ELABORATE: The base address is passed when the ARRAY is passed as an ARGUMENT in a FUNCTION.



Discussion

No Comment Found

Related InterviewSolutions