answersLogoWhite

0

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

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can a C plus plus user defined function return a value?

Absolutely. Indeed, any function (user-defined or built-in) that does not return a value is not really a function, it is simply a procedure.


To create a user defined sizeof function?

Not possible.


What are user-defined functions?

User-defined functions are functions that are not provided by the language itself. They are the functions that you yourself write or that are provided for you by a third-party.


How do you reverse a string with out using strrev?

By writing user defined function.


How switch function differs from user defined functions in C?

. please give me 3 or 4 differences.one difference is that user defined can be called anytime but not for switch There is no such thing as 'switch function'


What is the difference between pre-defined formulas and user-generated formulas?

Pre-defined comes built in as a function. [=SUM(A1:A12] User-generated is created by the user. [=A1+A2]


Is main a predefined function in java?

No. It is a user defined function which the person who is creating the java class has to code by himself.


Is the main function in C a built-in function or user-defined function?

The main function in C is user-defined. Built-in functions are simply those that do not require a library to be included, but every program must provide a user-defined point of entry; it cannot be built-in. Indeed, most functions in C are user-defined; the built-in functions are mostly operators rather than functions although most do behave like functions. The standard library functions are not built-in either; they all require the inclusion of the appropriate standard library header.


Which characters cannot be used in user-defined names in C?

The space and punctuation characters cannot be used in user-defined names. Only letters, digits and the underscore character are permitted, but a user-defined name cannot begin with a digit. User-defined names include function names, type definitions, enumerations, variables and constants.


How do you create function in php?

they're called user-defined functions, this is the syntax: function the_user_defined_name() { the code you want here }


What is the difference between Built in Function and User Defined Function?

Built-in functions are functions that are provided for you by the standard includes. User-defined functions are those that you write yourself. Third-party functions are those that are written for you, but that are not provided by the standard includes.


Is a header file a collection of built in functions that help in writing c programs?

No. There are no built-in functions in C, there are only built-in types and built-in operators for those types. All functions are user-defined, including those defined by the C standard library. There are no user-defined operators in C, but you can implement operators as named functions if required. A header file (*.h file) typically contains a group of related user-defined function and/or user-defined type declarations which can be included in any source file that requires them. Every user-defined function or user-defined type name used by a program must have one (and only one) definition, usually contained in a corresponding source file (*.c file) or library file (*.lib file). Built-in types and their corresponding operators do not require a header file since they are part of the language itself (hence they are built-in).