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 is pass by reference in functions?
Write a program to check palindrome number in c programming?
Why do we use static in c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is equivalent to ++i+++j?
Explain how can type-insensitive macros be created?
What is c standard library?
Explain the difference between exit() and _exit() function?
Is c procedural or functional?
What is wrong with this code?
Why #include is used in c language?
What is the use of bitwise operator?
What are the features of c language?
pierrot's divisor program using c or c++ code