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

Answer Posted / vijay r15

call by value means passing the value of variable.
Ex fun(a,b)

Call by ref means passing the address of the variable.
Ex fun(&a,&b)

By
Vijay r15
raj.vijay55@gmail.com

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1846


How can I discover how many arguments a function was actually called with?

622


Differentiate between #include<...> and #include '...'

608


What is the use of static variable in c?

585


hi any body pls give me company name interview conduct "c" language only

1647






What are the features of c language?

609


What is storage class?

637


how we can make 3d venturing graphics on outer interface

3980


What is the most efficient way to count the number of bits which are set in an integer?

576


Which are low level languages?

617


What is the difference between the = symbol and == symbol?

613


Explain the priority queues?

608


develop algorithms to add polynomials (i) in one variable

1722


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

1832


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

621