Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

0 Answers  


can we change the default calling convention in c if yes than how.........?

0 Answers   Aptech,


What is the use of a ‘’ character?

0 Answers  


Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).

0 Answers  


#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }

9 Answers   Burning Glass,


WHAT IS HEADER?

8 Answers   ProKarma, TCS,


What does c mean in standard form?

0 Answers  


What is the purpose of #pragma directives in C?

2 Answers  


how to write hello word without using semicolon at the end?

6 Answers   Accenture,


How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers   CMC, Wipro,


How can I direct output to the printer?

0 Answers  


Do string constants represent numerical values?

0 Answers  


Categories