answersLogoWhite

0


Best Answer
Copy

because function have return sts thatway it is not necessary out parameter to function

User Avatar

Wiki User

โˆ™ 2015-07-14 16:09:58
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
User Avatar

Add your answer:

Earn +5 pts
Q: Can a function take OUT parameters if not why?
Write your answer...
Submit

Related Questions

What is the smallest number of formal parameters that can be included in a function definition in C?

You can have a function with no parameters.


What are actual parameters in C plus plus what are formal parameters in c plus plus?

Formal parameters are those that appear in a function's prototype, using the parameter names provided by the function implementation (which may differ from the names used in the function prototype), and that are subsequently used in the function body. Actual parameters are those parameters that are passed by the calling function. Actual parameters are evaluated and passed to the function via its formal arguments.


What's the difference between function arguments and function parameters?

They are synonyms. They mean the same thing. The arguments of a function are its parameters and vice versa.


What is true about the parameters of a function (Python 3)?

a. Functions can have only one parameter. b. The order in which the parameters are defined matters. c. Parameters can be passed to a function in any order. d. Parameters have no order.


How many parameters are possible using the IF function in Excel?

The IF function has 3 parameters. The condition, the true part and the false part.


How do you call a function named my function?

In most languages, you can't have names with space, for functions, variables, etc. Assuming your function is called myFunction, the usual way to call it is: myFunction() This assumes the function requires no parameters. If the function does require parameters, the parameters will be included within parentheses.


What is the significance of using void in functions parameters lists?

It means that the function doesn't have parameters.example:int foo (void); -- it is a prototype for function 'foo', having no parametersint bar (); -- it is not a prototype as it says nothing about the parameters


What does the function counter do and what are its parameters?

There is no builtin function 'counta' in C.


What is the input of a function called?

Parameters


Is sendng inputs to a function optional?

You don't 'send input' to a function, you pass parameters. There are functions without parameters, 'getpid' for example.


What are the advantages of overloading?

overloading means same function but different arguments. so with overloading we can take different actions with different parameters....


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 block of code and perform only one task. Function overloading take different types & numbers of argument to perform different tasks, But default arguments perform only one task which has been declared or written for it without weather its called with exact number of parameters called with less number of parameters. but it will perform the same task. Function overloading take the exact number of parameters to work, But default arguments can take exact number of parameter or less number of parameters or even no parameters. it will assign the default values to the parameters and perform the task. Hope it will help you, Please correct if there was mistake. RAMIN SADAT, South Asian University (MSC)


Can you return multiple values from a function in C?

Yes! Using output parameters. A return statement can be used for returning only one value from a function. However, using output parameters, you can return two values from a function.


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


Can you change return type in function overloading?

No. Function overloading only pertains to the type of parameters.


What parameters are key in defining an enzymes function?

the fast ones


How do you provide the default values of function parameters?

Not possible in C.


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

No. C function argument are positional.


Advantages of function prototyping in C?

It allows the compiler to verify that the number and types of the functions parameters are correct when the function is actually called. If the function were called with the wrong number or type of parameters, and no function prototype were supplied, the error would not be discovered until the program was actually run.


What is the smallest number of formal parameters that can be included in a function definition?

1


What term is used to describe the information between parentheses in a function?

parameters


What is meant by function declaration in C language?

The name of the function is established by what is called function declaration. It also establishes the number and the types of parameters.


What are the various method to declare a function?

*Return variable type* *Function Name* (*Function parameters*) For example: int MyFunction (x,y)


What is the function and syntax of printf statement?

it's not a statement, it's a function: len= printf (format, ...more-parameters...);


What is the difference between value type parameters and reference type parameters?

When a variable is passed by value, the function receives a copy of the variable. When a variable is passed by reference, the function receives a reference, or pointer, to the original data.