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
Do you know the use of fflush() function?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What are the 32 keywords in c?
How can I remove the leading spaces from a string?
State two uses of pointers in C?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What are the different types of endless loops?
How can I avoid the abort, retry, fail messages?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What are the data types present in c?
Tell me when would you use a pointer to a function?
Combinations of fibanocci prime series
What would be an example of a structure analogous to structure c?
Is using exit() the same as using return?