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

Write a program to reverse a string.

0 Answers   Global Logic, iNautix, TCS, Wipro,


What are the different types of objects used in c?

0 Answers  


What does it mean when a pointer is used in an if statement?

0 Answers  


c program to print a name without using semicolon

9 Answers   TCS, Wipro,


in iso what are the common technological language?

0 Answers  






can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).

1 Answers  


what is a pointer

4 Answers   Bank Of America, TCS,


what is the main use of c where it can use the c

2 Answers   Infosys,


What is the difference between #include and #include 'file' ?

0 Answers  


What is a class?

3 Answers  


Is c is a middle level language?

0 Answers  


15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?

1 Answers  


Categories