What is the difference function call by value & function
call by reference?
Answer Posted / nb
In call by value,the function arguements will be duplicated
and sent to the called function from the function which is
calling it.
In call by reference ,the function arguements' address will
be passed to the called function by the calling function.
This method is the best practice since address is passed
rather than value.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does the file stdio.h contain?
Which is best book for data structures in c?
What is meant by inheritance?
code for find determinent of amatrix
How can I read in an object file and jump to locations in it?
Explain what will the preprocessor do for a program?
What are types of preprocessor in c?
Why do we use main function?
What is difference between constant pointer and constant variable?
What is selection sort in c?
Can a function argument have default value?
Can a pointer be volatile in c?
Which driver is a pure java driver
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
Why does everyone say not to use gets?