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 |
what is the syallabus of computer science students in group- 1?
There are 8 billiard balls, and one of them is slightly heavier, but the only way to tell was by putting it on a weighing scale against another. What's the fewest number of times you'd have to use the scale to find the heavier ball?
What is the difference between struct and typedef struct in c?
what is c programming?
What is the explanation for modular programming?
what is the use of getch() function in C program.. difference b/w getch() and getche()??
29 Answers HCL, IBM, Infosys, TCS, Wipro,
Is there a built-in function in C that can be used for sorting data?
How variables are declared in c?
What are the disadvantages of external storage class?
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?
write a function to swap an array a[5] elements like a[0] as a[5],a[1] as a[4],....a[5] as a[0].without using more than one loop and use one array not to use temp array?
What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack