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
Do array subscripts always start with zero?
How can I ensure that integer arithmetic doesnt overflow?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What is string constants?
What are local static variables? How can you use them?
Describe explain how arrays can be passed to a user defined function
What 'lex' does?
How do I get an accurate error status return from system on ms-dos?
What is chain pointer in c?
What is New modifiers?
How can type-insensitive macros be created?
What is a static function in c?
Is malloc memset faster than calloc?
What is an identifier?
What is a void pointer? When is a void pointer used?