answersLogoWhite

0

Which type of function in c?

User Avatar

Anonymous

13y ago
Updated: 8/19/2019

Try to be more precise; explain what you mean by the type of a function.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the type of printf statement in C?

It is a function.


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

To specify the return-type of the function.


How many types of function in C?

Well, it depends on what you mean by the type of a function. There are user defined functions and library functions.


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


How do you pass enum object as argument to function in c?

You can't pass an enum as an argument to a function. An enum in C isn't an object, it's a type. All you can do is pass a variable that is of the particular enum's type.


How can a procedure be defined in C?

ProcedureName (type Arg1, type Arg2, ..., type ArgN) {/* procedure body */return;}Procedure is a Pascal term that means the same a function in C/C++It is better to use the C/C++ terms then there is no confusion.


Providing rapid and effective response to and recovery from a domestic consequence is what type of function?

a. Supporting function or b. domestic mission c. government policy c.


How can a procedure be defined in C plus plus?

A procedure is simply a function in C++, therefore you define procedures just as you would any function. In some languages, a procedure is not a function as such, insofar as there is no return type. The C++ equivalent would therefore be a function that returns void.


Can you use the float as a return type of the main function in 'C' language?

No, it should be int type or void.


What is the user defined function section in C language?

There are no 'sections' in C source, you can define functions anywhere, except inside another function or variable/type definition.


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...)


How can use a function in c without declaration?

The syntax for a function declaration in C is:return-type function-name(list-of-parameter-types);The following example declares a function that takes an int type parameter and returns an int.Example:int myFunction(int);