what is the difference between call by value and call by
reference?
Answer Posted / raju
Call by Value: C support the call by value, where the caller
pass the value to the function and the updates on the
function will not effect on the caller.
Call by reverence: Here will pass the reference of the
variable to function, the update on the function variables
will effect on the caller.
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
In a switch statement, explain what will happen if a break statement is omitted?
What is the use of the function in c?
Explain a file operation in C with an example.
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Why functions are used in c?
What is union in c?
Write a code on reverse string and its complexity.
What is malloc() function?
Why can't I perform arithmetic on a void* pointer?
What is a good data structure to use for storing lines of text?
pierrot's divisor program using c or c++ code
What is the c value paradox and how is it explained?
How can I generate floating-point random numbers?
What is an example of structure?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?