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 is realloc in c?

560


What is the difference between test design and test case design?

1542


Is c call by value?

579


What is getch?

610


What are the standard predefined macros?

605






What does *p++ do?

558


simple program of graphics and their output display

1445


What are the applications of c language?

595


Why c is called object oriented language?

563


Explain can you assign a different address to an array tag?

617


How many types of operators are there in c?

589


How to set file pointer to beginning c?

637


What is pass by value in c?

572


Why we use void main in c?

567


List the difference between a 'copy constructor' and a 'assignment operator' in C?

613