what is the differance between pass by reference and pass
by value.
Answer Posted / sowjanya
in pass by value method actual values of a variable are
copied to the formal arguments . modifications of these
values by performing some operations on it are not effect on
the actual value. i.e these modifications are not returned
to calling function.
in pass by reference method addresses of the actual
variables are copied to the formal arguments. modification
of these variable values effects the actual value by
returning these modifications to calling function.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What is the difference between typedef struct and struct?
What functions are used in dynamic memory allocation in c?
What is the difference between break and continue?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What is a built-in function in C?
What is the meaning of c in c language?
Why are algorithms important in c program?
How many header files are in c?
What’s the special use of UNIONS?
How can I send mail from within a c program?
What is the explanation for the dangling pointer in c?
How can I write functions that take a variable number of arguments?
What are the characteristics of arrays in c?
Differentiate between a structure and a union.