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 wrong with this declaration?
How Many Header Files in c?
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)
How is null defined in c?
What are the different types of constants?
Is there a built-in function in C that can be used for sorting data?
What is ctrl c called?
How many ways are there to swap two numbers without using temporary variable? Give the each logic.
What is the ANSI C Standard?
how can i print "hello"
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. 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.