answersLogoWhite

0

A function is called within a function either called by value or called by reference.When a function is called by passing the values of one or more variables,then the value is copied to a new var of the function's own var of its scope.
Ex:
void main()
{.......
.
.
.
.
c=fun(a,b);
.
.
.
}
fun(int c,int d)
{ int t;
t=c+d;
return(t);
}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Definition for call by value in c?

This is the only possible way of parameter-passing in C language.


Call by function in c language?

I guess you meant the following:'In C language, when you call a function,the parameters are passed by-value.'


C programming language bsc it notes?

different between defining value definition section and defining value declaration section


What is variable definition in c language?

variable definition means to declare the variable with its value. for example:- int i=10; this statement is a combination of declaration of integer i and assign its value to it,so it is a definition statement Note: assigning a value is not essential.


Is c sharp scripting language?

What is a scripting language? If you know the answer to this, then you can determine C# fits to the definition or not.


Why printf is known as call by value?

C language uses only one method for parameter-passing: call by value.


What is the definition of the term C static?

The term C static is a variable within computer programming in particular C Language. When set static the variable inside a function keeps its value between invocations.


Definition of directories in c?

Directories have nothing to do with a programming language.


When only a copy of the argument's value is passed into the paremeter variable?

By default, a copy of the argument's value is passed into the parameter variable. This is "call by value" semantics, and the called function can do whatever it wants with the parameter, but it cannot alter the original copy. Sometimes, in C and C++, you can pass the address of the value instead. This is "call by address" semantics, but the called function must be designed to handle it - in this case, the called function can alter the original value. (Actually, it is always "call by value" - what we call "call by address" is simply passing the value of the address, a subtle distinction which is important to understanding the language.)


How do you combine call by value and call by reference programs in c?

Very easily: there is no call-by-reference in C.


Definition of buffer in assembly language?

its just like a string of c++


Call by value in C?

Yes.