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 the best way to comment out a section of code that contains comments?

1055


how to build a exercise findig min number of e heap with list imlemented?

1831


Write a progarm to find the length of string using switch case?

1828


All technical questions

1730


What is echo in c programming?

733


What is difference between class and structure?

817


What is the difference between array and linked list in c?

854


Does c have circular shift operators?

948


Can you return null in c?

850


What is a constant?

812


Explain union.

890


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

985


How can you read a directory in a C program?

875


Which is best linux os?

759


How can I implement sets or arrays of bits?

800