Is an array parameter is always "by reference" ?

Answer Posted / sri

yes, passing array to a function is always call by reference
method because array name itself act as a pointer to its
first position.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the total generic pointer type?

615


Is c easier than java?

571


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1860


Which header file should you include if you are to develop a function which can accept variable number of arguments?

810


What is the benefit of using #define to declare a constant?

609






Can a function argument have default value?

675


Is it better to bitshift a value than to multiply by 2?

661


Explain two-dimensional array.

631


What is n in c?

575


When should we use pointers in a c program?

633


What are the advantages of Macro over function?

1207


Tell me when is a void pointer used?

649


hi, which software companys will take,if d candidate's % is jst 55%?

1666


application attempts to perform an operation?

1496


The statement, int(*x[]) () what does in indicate?

648