What is the difference between call by value and call by reference in c?
Answer / Mahendra Nath
'Call by value' means that the function receives a copy of the argument, whereas 'call by reference' involves passing the address of the argument to the function. In call by value, if the function modifies the argument, the original value remains unchanged, but in call by reference, any changes made within the function are reflected in the original variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to use enum datatype?Please explain me?
What is the significance of an algorithm to C programming?
Is multithreading possible in c?
Define recursion in c.
Explain the difference between call by value and call by reference in c language?
What is the meaning of typedef struct in c?
What are the various types of control structures in programming?
how do you programme Carrier Sense Multiple Access
How do you search data in a data file using random access method?
What are disadvantages of C language.
What is function what are the types of function?
What does the error 'Null Pointer Assignment' mean and what causes this error?