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

What are the differences between strdup and strcpy functions used in C?

  Answer     strcpy - copy a string to a location YOU created (you create the location, make sure that the source string will have enough room there and afterwar

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

Why you use function in c language?

functions are used to reduce the length of program when same instructions has to be used again and again, it also break the program into module as well as it also improve the

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

What is the Difference between C and C languages?

C languages are often based originally on the C language but no longer adhere to it's tenets: often they supersede the original ANSI-92 C language. C++, Objective C, C-, and C

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 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