What is the difference function call by value & function
call by reference?

Answer Posted / nakul sharma

In Call by value we simply passes the variable to the
function but in CAll by reference we actually pass the
memory address where the variable we want to pass is stored.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is void main () in c?

750


What are header files? What are their uses?

650


Why is python slower than c?

619


What is a ternary operator in c?

670


In c language can we compile a program without main() function?

590






Explain how do you determine whether to use a stream function or a low-level function?

640


what is uses of .net

1281


write a c program in such a way that if we enter the today date the output should be next day's date.

1693


Is there sort function in c?

587


How can I change the size of the dynamically allocated array?

640


What is the advantage of an array over individual variables?

750


What are linker error?

625


What is static and volatile in c?

790


Can we increase size of array in c?

552


Simplify the program segment if X = B then C ← true else C ← false

2594