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

What is wrong with this declaration?

0 Answers  


How Many Header Files in c?

2 Answers   TCS,


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

0 Answers   Subex,


How is null defined in c?

0 Answers  


What are the different types of constants?

0 Answers  


Is there a built-in function in C that can be used for sorting data?

0 Answers  


What is ctrl c called?

0 Answers  


How many ways are there to swap two numbers without using temporary variable? Give the each logic.

9 Answers  


What is the ANSI C Standard?

0 Answers   Celstream,


how can i print "hello"

3 Answers  


write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?

1 Answers  


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

0 Answers  


Categories