what is call by value and call by reference

Answers were Sorted based on User's Feedback



what is call by value and call by reference..

Answer / kalyani.p.v

call by value:The called function sends its value as
argument to calling function.
Call by reference:The calling function sends address of
variable to the called functin.

Is This Answer Correct ?    16 Yes 3 No

what is call by value and call by reference..

Answer / vignesh1988i

CALL BY VALUE :
this means whenever ur arguments in the function contains only values without passing any addresses is called as call by value..

CALL BY REFERENCE :
this means that whenever u pass an address as an arragument when u call an function , that is called as reference by call


thank u

Is This Answer Correct ?    9 Yes 1 No

what is call by value and call by reference..

Answer / bharat

call by value means u call function with argument as value
of variable.
and
call by reference means u call function with argument as
address of variable

Is This Answer Correct ?    2 Yes 0 No

what is call by value and call by reference..

Answer / rina

function is call the value called the call by values
and the function call the address called the call by
refrence....

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More C Interview Questions

What are external variables in c?

0 Answers  


Why is main function so important?

0 Answers  


YBJBU6

1 Answers  


What is p in text message?

0 Answers  


WHAT IS MEANT BY LIFE?

2 Answers  






Determine if a number is a power of 2 at O(1).

2 Answers  


who is the editor of 'pokemon'?

1 Answers  


Write a pro-gramme to determine whether the number is even or odd?

1 Answers  


#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


What is a stream?

0 Answers  


Why c is called procedure oriented language?

0 Answers  


Table of Sudoku n*n

0 Answers  


Categories