what is the difference between call by value and call by
reference?
Answer Posted / vijay r15
call by value means passing the value of variable.
Ex fun(a,b)
Call by ref means passing the address of the variable.
Ex fun(&a,&b)
By
Vijay r15
raj.vijay55@gmail.com
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is scope rule of function in c?
Why header file is used in c?
What are the advantages of Macro over function?
What is masking?
What are types of functions?
What is exit() function?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Explain the difference between call by value and call by reference in c language?
How can a program be made to print the line number where an error occurs?
Explain how can a program be made to print the line number where an error occurs?
What is the best style for code layout in c?
what do u mean by Direct access files? then can u explain about Direct Access Files?
What is a rvalue?
Describe the steps to insert data into a singly linked list.