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

Answer Posted / kiran

In Pass-by-value, changes made in the formal parameters will not reflect in actual parameters and vice-versa. Where as In Pass-by-reference, changes made in the formal parameters will reflect in actual parameters and vice-versa.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a free-standing and a hosted environment?

644


define string ?

671


How do I read the arrow keys? What about function keys?

616


How can I get back to the interactive keyboard if stdin is redirected?

673


How can you read a directory in a C program?

655






What are the advantages of union?

630


What is the c language function prototype?

649


How can I read and write comma-delimited text?

625


Write a program to show the change in position of a cursor using c

585


differentiate built-in functions and user – defined functions.

634


What is the difference between class and object in c?

585


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

1624


What are the disadvantages of c language?

624


What are the disadvantages of external storage class?

592


What is the use of extern in c?

651