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
Is c still relevant?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Explain which function in c can be used to append a string to another string?
What does void main return?
How can a program be made to print the line number where an error occurs?
What are the different properties of variable number of arguments?
Can we initialize extern variable in c?
difference between object file and executable file
What is the use of a static variable in c?
What is sizeof int in c?
What is difference between main and void main?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
How to find a missed value, if you want to store 100 values in a 99 sized array?
Is that possible to add pointers to each other?