answersLogoWhite

0

Why you use 'integer' before function in C language?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

To specify the return-type of the function.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why you use 'integer' before function in C language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is rounding in Visual Basic?

Rounding in Visual Basic is the method of rounding an integer up, or flooring an integer, which is rounding down. To round up, you use the System.Math.Round function. To round down, or floor, you use the System.Math.Floor function.


What is the referential function of language?

This is the most obvious function of language, when you use words to indicate things or facts.


How do you decide which integer type to use in c language?

By the range of values you wish to represent.


When you can use percent D in c language?

To define any integer type value.


What is the use of c plus plus function atoi?

Converts a character to integer (if it is a numeric character)


Wrie a program to receive an integer and find its octal equivalant?

Use %o


Why we use function prototyping in c language?

You could just define the whole function before it is called, like this:void do_nothing(){}main(){do_nothing();}but if you define the function after it is called, the compiler will arrive at the function's calling before its actual definition. If you prototype your function earlier in the code than the function's call, the compiler will look for the function first.Hope I was able to help.


What function is used to perform exponentiation in C language?

You can use the pow() function in math.h.


When graphing a linear function with a fraction as the coefficient of x what values should you use for x to ensure your y coordinate is an integer?

You should use multiples of the denominator of the [slope] coefficient.That assumes, of course, that the y-intercept is an integer.


Is 0.48 an integer?

No, integers are whole numbers including 0. '.48' is a real number and would round down to zero, or up to 1, depending on the function you use, either of which is an integer.


Why you use else function in c language?

You cannot have a function named else, because it is a reserved word.


What is function overloading in c language of computer?

There is no such thing as function overloading in C; that is a feature of C++. Function overloading allows us to provide two or more implementations of the same function. Typically, we use function overloading so that the same function can cater for different types. For instance, we might provide one implementation that is optimised to handle an integer argument while another is optimised to handle a real argument. We can also use function overloading to provide a common implementation of a function which can then be invoked by overloads that handle the low-level type conversions.