answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is function calling with examples?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the syntax of function?

Function declaration, definition, or calling? Pick one.


Which function call Does not consume stack space?

Calling an in-line function, which is not actually a function-call.


What is call by refrence?

When calling a function, passing a variable's address as function parameter.


What is the difference between the calling function and called function?

Function calling is when you call a function yourself in a program. While function invoking is when it gets called automatically.For example, consider this programstruct s{int a,b,s;s(){a=2;b=3;}void sum(){s=a+b;}};void main(){struct s obj; //line 1obj.sum(); // line 2}Here, when line 1 is executed, the function(constructor, i.e. s) is invoked.When line 2 is executed, the function sum is called.


What actually happens when function get called how the compiler is reading the next instruction after completing that function?

When a function gets called, the processor first stores the address of the calling function in a structure called activisation structure and jumps to the called function. Then it allocates the memory for the local variables and initializes them. Then it does the processing in that function. After that it deallocates the memory allocated for the local variables and returns to the calling function. When a function gets called, the processor first stores the address of the calling function in a structure called activisation structure and jumps to the called function. Then it allocates the memory for the local variables and initializes them. Then it does the processing in that function. After that it deallocates the memory allocated for the local variables and returns to the calling function.


A rigid bar that pivots about a fixed point?

function calling stands for the function consists of semicolean but the called function is refers to the body of the function.


What are some examples of name-calling?

Examples of name calling would be like stupid, dumb, dumbo,crazy and much much more. You use name calling when you are saying negative things about somene else or something else.


Who is calling main function in c?

in c main function initailly called by operating system.


What are three examples of socialization?

texting, calling, i.m-ing


When calling a function that has multiple parameters can you list the arguments in any order?

No. C function argument are positional.


What is a visual basic function?

A function is a segment of code which you pass a value to and get a value back from, the function acts upon (or not) that value passed to it and returns a value to the calling method; this makes it slightly different from a Sub, which returns no value to its calling method.


What do you mean by calling a function?

It is asking a function to run, by typing the command that runs the function within a program or applications like databases or spreadsheets.