answersLogoWhite

0

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

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What value is return by int main method?

1. A method declared as "int" returns an int value. 2. The main() method in Java is not declared as "int", but as "void", meaning it returns no value.


What is mean by garbage value?

Garbage value or garbage data is programmers' slang for malformed data, typically with no correlation to the intended or expected value set.For example, a function F might be designed to return a student's name, consisting of a string of readable characters, terminated by a null-bytes. When the function returns unintelligible data instead, data which doesn't form a valid name in any of the supported languages, the data returned by F is said to be garbage data.Note that garbage data is not used to describe incorrect data. If, for example, function F returns the name Smith where Miller might have been the correct answer, function F would suffer from an error and the result data would be erroneous or incorrect, but not garbage.


How do you describe garbage value in c?

/* Example of garbage value */ #include main() { float first = 1234567890123456789.123456789 ; double second=1234567890123456789.123456789 ; long double third = 123456789123456789.123456789; clrscr(); printf(" First=%f",first); printf("\n Second=%lf",second); printf("\n Third=%Lf",third); getch(); return; } output First=1234567939550609410.000000Second=1234567890123456770.000000Third=1234567890123456770.000000


What should you do if you get garbage value?

Fix your program.


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 is the difference between min and max function?

The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)The MIN function returns the lowest value from a set of values. The MAX function returns the highest value from a set of values.=MIN(A2:A20)=MAX(A2:A20)


Is there any nutritional value in soda?

No. It's garbage.


What is the value of a Peter Forsberg stamp?

None. he is garbage


What are the 4 main of recyclables?

how much of our garbage can be recycle


Which function returns one value when a condition is met and returns another value when it is not met in Excel?

The IF function. See the related question below.


How occur garbage value?

When you use an uninitialised variable, for example.


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?

isdigit is an example (see in ctype.h)