what is call by value and call by reference
Answers were Sorted based on User's Feedback
call by value:The called function sends its value as
argument to calling function.
Call by reference:The calling function sends address of
variable to the called functin.
| Is This Answer Correct ? | 16 Yes | 3 No |
CALL BY VALUE :
this means whenever ur arguments in the function contains only values without passing any addresses is called as call by value..
CALL BY REFERENCE :
this means that whenever u pass an address as an arragument when u call an function , that is called as reference by call
thank u
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / bharat
call by value means u call function with argument as value
of variable.
and
call by reference means u call function with argument as
address of variable
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rina
function is call the value called the call by values
and the function call the address called the call by
refrence....
| Is This Answer Correct ? | 2 Yes | 2 No |
What is the main differences between C and Embedded C?
What is %g in c?
What does do in c?
Is using exit() the same as using return?
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............
print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20
Are pointers integer?
how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...
Why does this code crash?
how to make program without <> in library.
What are the parts of c program?
what are bit fields? What is the use of bit fields in a structure declaration?
0 Answers Flextronics, TISL, Virtusa,