answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Why would you use Arguments and Parameters?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many arguments does printf takes?

any number of parameters. No limit!


How does Microsoft Excel perform calculations?

Many different functions can perform calculations or operations. Excel comes with hundreds of them. They can be accessed by clicking on the fx icon. The most commonly used function is usually the SUM function. It is generally used to add a range of values, but it can be used to do other kinds of calculations. It can be accessed by clicking on the Σ character on the toolbar.


Four commitments that define social parameters of arguments?

honesty, integrity, morals,


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 i, char c ); // Function prototype The actual arguments are the variables and/or constants (those supplied by the caller) that are used when invoking the function. int intVar = 6; char charVar = 'e'; // Actual parameters 3 and 'G' will be mapped to the // formal parameters 'i' and 'c' myFunc( 3, 'G' ); // Execute function // Actual parameters 'intVar' and 'charVar' will be mapped // to the formal parameters 'i' and 'c' myFunc( intVar, charVar ); // Execute function


What the operator used when invoking a function?

parenthesis - () are used along with the function name to invoke a function.Eg:Consider a function named trial. Then the invoking statement would be:trial();If the function has arguments, then these arguments are passed inside the parameters.


What is function parameters?

whatever the variables we declare in function signature to receive the arguments at the calling that are known as parameters.. e.g. int sum(int a,int b); here a & b are known as parameters.....


How do you write c file arguments?

Using parameters argc and argv, and library functions fopen, fprintf, fclose


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

No. C function argument are positional.


What is the maximum no of arguments that can be given in a command line in C?

C doesn't limit it, it handles as many parameters as it gets.


What arguments would you use to convince a friend that the lives of human beings are dependent on solar energy?

What arguments would you use to convince a friend that the lives of human beings are dependent on solar energy?


What is parameter in functions?

whatever the variables we declare in function signature to receive the arguments at the calling that are known as parameters.. e.g. int sum(int a,int b); here a & b are known as parameters.....


What is default value of formal arguments?

In C, there is no default value for formal parameters. In C++, there can be, but the value is whatever you declare in the function declaration.