answersLogoWhite

0


Best Answer

isdigit is an example (see in ctype.h)

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What function is a logical function that returns one value if the statement is true and returns a different value if the statement is false?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which logical function returns a true result only when all its arguments are true?

The AND function.


What statement returns a value from a function?

return


How does the compiler differentiate the statement and function in C programming?

statement should not return a value but function returns a value


What are the conditional logic functions in computer applications?

Not sure what you are asking here, but here is my best guess.COMPUTER PROGRAMMING APPLICATIONS:IF - If a condition exists, do something, if not, do something else.CASE - If a condition equals CASE1 do this; if CASE2 do this; etc.WHILE - If a condition remains, keep doing something until the condition changes.EXCEL:AND(logical1,logical2,...) - tests whether the logical arguments are TRUE or FALSE. If they are all TRUE, the AND function returns TRUE to the cell. If any are FALSE, the AND function returns FALSE.IF(logical_test,value_if_true,value_if_false) - tests whether the logical_test expression is TRUE or FALSE. If TRUE, the IF function returns the value_if_true argument. If FALSE, the IF function returns the value_if_false argument.IFERROR(value,value_if_error) - tests whether the value expression is an error. IFERROR returns value_if_error if the expression is an error, or value of the expression if it is not an error.NOT(logical) - tests whether the logical argument is TRUE or FALSE. If TRUE, the NOT function returns FALSE. If FALSE, the NOT function returns TRUE.OR(logical1,logical2,...) - tests whether the logical arguments are TRUE or FALSE. If any are TRUE, the OR function returns TRUE. If all are FALSE, the OR function returns FALSE.FALSE() - takes no argument and simply enters logical FALSE in its cell.TRUE() - takes no argument and simply enters logical TRUE in its cell.


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 does main returns garbage value?

With return without value, or by dropping off the last statement in the function.


Calling a function from switch in C?

Yes, you can call a function from within a switch statement in C. switch (i) { case 0: function1(i); break; case 1: function2(i); break; default: function3(i); break; } When the function returns, you will still be in the switch statement.


What is different between a subroutine and function in vb.net?

Function returns a value but sub procedure do not return a value.


What does the logical function TRUE mean?

It returns the logical value TRUE. It can be used by itself, say when building a truth table, or as part of another function, such as the IF function. Here is it checking if someone passed an exam: =IF(A2>=40%, TRUE(), FALSE() ) You can in fact leave out the pair of brackets immediately after TRUE and after FALSE, and they will still work.


Can you use the PMT function in Excel to display dates in many different formats?

The PMT function returns the payment amount for a loan, so it has nothing to do with how dates are displayed. It returns numbers.


What part of a function definition specifies the data type of the value that the function returns?

The function header. The return value is written before the name of the function. This return type must match the type of the value returned in a return statement.


What is a return statement used for?

It means end the function. Functions automatically end when execution reaches the end of the function, but you can return from a function at any point within the function with a return statement. If the function returns a value to its caller, you must provide a reachable return statement along with the value you wish to return.