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 far pointer in c?
Explain how do you use a pointer to a function?
Is multithreading possible in c?
What are the storage classes in C?
What is the benefit of using #define to declare a constant?
What is the difference between local variable and global variable in c?
What's the best way of making my program efficient?
What is a const pointer?
swap 2 numbers without using third variable?
Explain what is dynamic data structure?
Do pointers need to be initialized?
How can I do peek and poke in c?
Explain the difference between call by value and call by reference in c language?
What are the loops in c?
How can I make sure that my program is the only one accessing a file?