Is an array parameter is always "by reference" ?



Is an array parameter is always "by reference" ?..

Answer / 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

More C Interview Questions

hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

0 Answers  


Why c++ is called c++ and not c+?

9 Answers   EBS,


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

0 Answers  


write a recursive program in'c'to find whether a given five digit number is a palindrome or not

2 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  






Predict the output or error(s) for the following: 25. main() { printf("%p",main); }

3 Answers   Google, ME,


Is c weakly typed?

0 Answers  


How can I write a function analogous to scanf?

0 Answers  


what is the coding of display the factorial of a number using array and function?

1 Answers  


What is %lu in c?

0 Answers  


Which is best linux os?

0 Answers  


What is the argument of a function in c?

0 Answers  


Categories