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
Why are algorithms important in c program?
Why cant I open a file by its explicit path?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
How many loops are there in c?
Do pointers store the address of value or the actual value of a variable?
find out largest elemant of diagonalmatrix
Why is c called "mother" language?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Explain how do you list a file’s date and time?
Explain how to reverse singly link list.
What is use of bit field?
What is actual argument?
Explain a pre-processor and its advantages.
How can I find out if there are characters available for reading?
What are structures and unions? State differencves between them.