what is the differance between pass by reference and pass
by value.
Answer Posted / shalini
In the pass by reference we are using the pointer that is
here, we are passing only address where value is stored. but
in the case pass by value we are using ordinary variable
that is pass the value itself. here the value cannot be
changed in calling function and returning back to called
function but this is possible in call by reference
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the most efficient way to count the number of bits which are set in an integer?
define string ?
Why we use void main in c?
What is maximum size of array in c?
Write a program with dynamically allocation of variable.
Write a program to check armstrong number in c?
When should a type cast not be used?
write a programming in c to find the sum of all elements in an array through function.
What is the purpose of macro in C language?
What is a constant?
Why do we write return 0 in c?
What does a function declared as pascal do differently?
Explain argument and its types.
Why #include is used in c language?
When should you use a type cast?