what is call by value and call by reference

Answer Posted / vignesh1988i

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2311


How to delete a node from linked list w/o using collectons?

2396


What are valid signatures for the Main function?

963


What is a nested formula?

809


Explain heap and queue.

809


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

851


What does %2f mean in c?

980


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3255


What is the use of a semicolon (;) at the end of every program statement?

1149


Explain how are portions of a program disabled in demo versions?

878


What is atoi and atof in c?

824


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

844


What does 3 mean in texting?

831


How do you determine the length of a string value that was stored in a variable?

879


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1000