what is the difference between call by value and call by
reference?

Answer Posted / m.karthiga

in call by value the changes do not affect the value of a
variable because value is passed.but call by reference
should affect the value of a variable because address is
passed

Is This Answer Correct ?    16 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are examples of structures?

594


What is an identifier?

624


What is variable declaration and definition in c?

501


Is it possible to have a function as a parameter in another function?

598


difference between object file and executable file

6093






Why static is used in c?

620


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

579


Tell me about low level programming languages.

642


What is the benefit of using #define to declare a constant?

601


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1655


Explain how do you convert strings to numbers in c?

593


Difference between MAC vs. IP Addressing

639


What is null pointer constant?

594


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2577


What are the different types of pointers used in c language?

612