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

How can I set an array's size at run time?

9 Answers  


write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

3 Answers   IBM,


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

0 Answers   Mind Tree,


how can I convert a string to a number?

0 Answers  


write a program to display the array elements in reverse order in c language

16 Answers  






void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


what does ‘Bus Error’ mean?

1 Answers   ABC,


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

0 Answers  


What is the size of structure pointer in c?

0 Answers  


What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);

3 Answers   Bosch,


Write a C program to count the number of email on text

0 Answers  


What is c preprocessor mean?

0 Answers  


Categories