What would you like to do?

What is the difference between actual and formal arguments used in functions in C language?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

The arguments passed to the functions while the function is called is known as the actual arguments, whereas the arguments declared in the function header is called as formal arguments.

Ex. Suppose sum() is a function.

int sum(int x, int y) /*Here x and y are called formal arguments*/
{...}

void main()
{
int ans;
....

ans = sum(3,5); /*Here the arguments 3 and 5 are called actual arguments*/

...

getch();
}
44 people found this useful
Thanks for the feedback!

What are the Differences between natural language and formal language?

Answer 1. Although formal and natural languages have many  features in common---tokens, structure, syntax and  semantics---there are many differences.ambiguityNatural langua

Difference between function overloading and default arguments?

In function overloading, for different tasks there should be different blocks of codes with the same name to perform different tasks, while default arguments has only one bloc

What is the difference between a formal programming language and a pseudo code?

A programming language is a well defined set of rules and commands which can be combined to tell a computer what to do as a computer program. Pseudo-code is like a "rough dr

What are the differences between formal and informal language?

In short and in general, formal language is the language you would use when talking to your boss, whereas informal language is the one you use when talking to a friend. For ex

What are the differences between Macros and Functions in C Language?

Macros are essentially shorthand representations of arbitrary sections of the source code, which makes the source code succinct, while its (the macro template's) expansion rep

What is the difference between actual and formal parameters?

Formal parameters are the parameters as they are known in the function definition. Actual parameters (also known as arguments) are what are passed by the caller. For example,

Difference between actual parameter and formal parameters in c language?

1> the parameters used in prototypes and function definitions are called formal parameters and 2>those used in function calls are called actual parameters.actual parameters u

What is the difference between formal and actual arguments?

Formal arguments are the arguments in the definition of a function. Actual arguments are the arguments provided to the function when you call it. Example: float divide(flo

What are the differences between informal and formal function?

  Official: "Tails" for the men; "Gown" for the women.   Formal: Black or White tie for men; Evening dress for women.   {"Black Tie": Black tuxedo, black bow-tie, cu

The difference between formal and functional regions is?

There is a major difference between formal and functional regions.  Formal regions are huge areas that are characterized by many  activities. A functional region is a region

Relationship between actual and formal arguments?

The formal arguments are the names given to the parameters/arguments in the function declaration. These names will be used within the body of the function. void myFunc( int

What is the difference between casual and formal language?

Very generally speaking, formal language is the "proper" way to speak, and casual language is the way people speak in every day life. The main difference is mostly when you w

What is the difference between argument and function in Excel?

A function is a built-in formula in Excel designed to do a particular task. Arguments are values that you provide to a function to do its task, like cell address that hold num

What is the difference between actual and formal argument in c plus plus?

Formal arguments are the arguments used locally by a function. Actual arguments are the arguments that were passed to the function by the caller. Consider the following: voi