what is the differance between pass by reference and pass
by value.

Answer Posted / vijaya

in pass by value only the actual value of a variable is
copied to a formal parameter & it doesn't effects the
actual value when any operations r done on it
where
in pass by refference we r sending address of variables it
gives exact results but any oprations done on it may effect
actual values

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know pointer in c?

672


write a progrmm in c language take user interface generate table using for loop?

1639


Explain low-order bytes.

689


What is the role of this pointer?

619


What is substring in c?

701






How do you write a program which produces its own source code as output?

679


Explain what are preprocessor directives?

693


write an algorithm to display a square matrix.

2291


What is clrscr ()?

702


What tq means in chat?

672


What is the purpose of void in c?

679


Hi can anyone tell what is a start up code?

1697


plz let me know how to become a telecom protocol tester. thank you.

1822


Can a pointer be null?

627


What is the modulus operator?

797