answersLogoWhite

0

IF, in C and C++, is not a function - it is a statement. There are two parameters...

if (expression) statement;

The expression is evaluated. If it has logical result true, or arithmentic result not zero, the statement is executed; if not, the statement is not executed. The statement can be a single statement, in which it is terminated with a semi-colon, or it can be a block of statements, in which it is surrounded by braces.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What are the formal arguments?

Formal arguments are the named arguments defined by the function. Actual arguments are those arguments that were passed to the function by the caller.


What is meant by arguments in c?

Arguments appear in functions and in function calls. Arguments passed to a function are known as actual arguments. The arguments used by the function are known as the formal arguments. In C, all arguments are passed by value, such that the formal argument is a copy of the actual argument.


How many arguments can the average function have?

The AVERAGE function has up to 255 arguments in Excel.


What is a minimum function?

The minimum function is the function that takes two arguments and returns the smallest of the two. Alternatively the function can take any finite amount of arguments and return the smallest.


What is a built-in formula that uses arguments to calculate information?

an is a built in formula that uses arguments to calculate information. is FUNCTION


Where do you find a list of Excel arguments?

Each function in Excel that has arguments will differ in terms of what arguments are needed. The help for a particular function will indicate what arguments may be needed. Some functions can be used in different ways and may not always need all arguments.


Is it possible for a function to have no arguments?

Of course.


How do you write a function with a variable number of input elements in PHP?

When defining your function, do not put any arguments in the definition (e.g. function myFuntion()). Inside the function, you can use func_num_args() and func_get_arg($number) to get the function's arguments.


Does The PMT function have 4 arguments in Excel?

No, it has five arguments. Two of them are optional.The syntax for the PMT function is:PMT(interest_rate, number_payments, PV, FV, Type)The FV and Type arguments are optional.


When does the function arguments box appear in Excel?

It shows you what needs to be put into a function for it to work. You can type the arguments directly into the boxes that are shown for the particular function you are using. It is particularly handy for more complex functions that you are not used to working with.


What is a basic structure of a c programming?

Basic structure of a C program is /* Documentation section */ /* Link section */ /* Definition section */ /* Global declaretion section */ /* Function section */ (return type) (function name) (arguments...) void main() { Declaration part Executable part (statements) } /* Sub-program section */ (return type) (function name 1) (arguments...) (return type) (function name 2) (arguments...) . . . (return type) (function name n) (arguments...) Basic structure of a C program is /* Documentation section */ /* Link section */ /* Definition section */ /* Global declaretion section */ /* Function section */ (return type) (function name) (arguments...) void main() { Declaration part Executable part (statements) } /* Sub-program section */ (return type) (function name 1) (arguments...) (return type) (function name 2) (arguments...) . . . (return type) (function name n) (arguments...)


What are three parts of a function in Excel?

You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)You could say the name, the brackets and the arguments. All functions will have a name and brackets. For most functions there will be something inside the brackets, known as arguments, although some functions have no arguments. Here are the two forms.=NAME()=NAME(arguments)The TODAY function has no arguments so it can be entered like this:=TODAY()The SUM function must have arguments, so it could be something like this:=SUM(A2:A20)