answersLogoWhite

0

#include<stdio.h>

#include<conio.h>main()

{

}

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Math & Arithmetic

Why you pass arguments to function in c plus plus?

You pass arguments to functions because that is how you tell the function what you want it to do. If you had, for instance, a function that calculated the square root of something, you would pass that something as an argument, such as a = sqrt (b). In this case sqrt is the function name, b is passed as its argument, and the return value is assigned to a.


A yard is equal in length to three feet The function F y takes a measurement in yards as input and returns a measurement in feet as output What number will the function return if the input is 1?

36.6 46.2


What function in excel searches and returns that value's relative position from the table and returns that value's relative position from the table not the value itself?

The function you're looking for is the MATCH function in Excel. It searches for a specified value within a range and returns the relative position of that value in the range. For example, if the value is found in the third position of the specified range, MATCH will return 3. The syntax is MATCH(lookup_value, lookup_array, [match_type]).


What does the SQRT function return?

The SQRT function returns the square root of a given non-negative number. If the input is a negative number, the function typically generates an error or returns a special value, depending on the programming environment. The result is always a non-negative value, as square roots of real numbers cannot be negative. This function is commonly used in various mathematical and programming contexts.


When will the geometric average return exceed the arithmetic average return for a given set of returns?

Never. The geometric return is always lower than the arithmetic average returns unless the returns for the given set of data are all the same.

Related Questions

In C programming Write a function that returns 1 if its argument is a prime number and returns zero otherwise?

#include&lt;iostream.h&gt; int CheckPrime(int number){ for(int i=2;i&lt;number;i++){ if(number%i==0) return 0; } return 1; } void main() { int num=7; cout&lt;&lt;CheckPrime(num); }


WHICH FUNCTION WILL RETURN A RESULT WITHOUT YOU SUPPLYING AN ARGUMENT TO IT IN ACCESS?

In Microsoft Access, the function that will return a result without requiring an argument is the Now() function. This function retrieves the current date and time from the system without needing any input. Another example is the Date() function, which returns the current date. Both functions can be used in queries, expressions, and VBA code.


Which argument is not specified in if function?

In an IF function, the argument that is not specified is the &quot;value_if_false&quot; argument. This argument defines what the function should return if the condition evaluated is false. If it is omitted, the IF function will return a blank cell instead of a specific value or message when the condition is not met.


What statement returns a value from a function?

return


What is return in programming?

The return statement is used in functions to return control to the caller. If the function is declared non-void, the return statement also allows the programmer to return a value to the caller.


Where do you use no argument no return in c function?

Where there is no need to return any type of value from a function


An argument takes a value or values and performs an operation?

In programming, an argument takes a value or vales and performs an operation is called a function or method. If a method does not return a value, it is described as 'void'.


What module returns a value back to the part of the program that called it?

A function. You can have a function that returns but doesn't return a value with it.


What does sqrt function return?

square root of the argument


Which is not the argument that must be specified in the IF Function in excel?

In the IF function in Excel, the third argument, which specifies the value to return if the condition is false, is not mandatory. If this argument is omitted, Excel will return FALSE by default when the condition is not met. The first argument (the logical test) and the second argument (the value if true) must be provided for the function to work correctly.


What is a variable that is used within a function?

If the variable is declared within the function body, it is a local variable, one that is local to the function. Local variables fall from scope when the function returns, they are only accessible within the function. However, local variables can be returned by value, which creates an automatic variable that is returned to the caller. If the caller does not store the return value, the automatic variable falls from scope when the expression containing the function call ends. However, the expression may evaluate the return value without storing it. Note that functions cannot return local variables by reference since the local variable falls from scope when the function returns. If the variable is passed as an argument to the function, then the variable is a parameter of the function. Arguments may be passed by value or by reference, depending upon the function signature. Passing by value means the function parameter is a copy of the argument (if the argument is an object, the object's copy constructor is invoked automatically). Thus any changes made to the parameter within the function are not reflected in the argument that was originally passed, and the parameter will fall from scope when the function returns. However, the value of the parameter can be returned as previously explained. Passing by reference means the function parameter refers directly to the argument that was passed. Thus any changes made to the parameter are reflected in the argument. Parameters that are declared as constant references assure the caller that the reference's immutable members will not be altered by the function. If the parameter is a non-const reference but the caller does not wish changes to be reflected in the argument, the caller should pass a copy of the argument instead.


Difference between sizeof and strlen?

The sizeof operator returns the total size, in bytes, of the given operand, whereas the strlen function returns the number of characters in the argument up to but not including the first null-terminator.Consider a character buffer allocated 50 bytes to which you assign the string "Hello world". The sizeof operator will return 50, but the strlen function returns 11.