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
Is fortran faster than c?
List the different types of c tokens?
How can I trap or ignore keyboard interrupts like control-c?
Difference between Shallow copy and Deep copy?
How can I make sure that my program is the only one accessing a file?
How can I send mail from within a c program?
What is the use of gets and puts?
What is the use of the function in c?
what are the different storage classes in c?
How can you increase the allowable number of simultaneously open files?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
Can we add pointers together?
Wt are the Buses in C Language
Is int a keyword in c?
What is scope and lifetime of a variable in c?