answersLogoWhite

0

In the C language, functions are what other languages sometimes call procedures or subroutines. Unlike some languages, the C language makes no distinction between functions which return a result and those that don't, except that the latter are declared with the "void" return type (indicating that there is no direct result).

Functions are used to provide functionality that is then available to multiple callers, thus promote efficient coding by implementing a function once, but using it many times.

Functions also promote structured code layout.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the compound in c language?

compound c language is complicated where we need to use many nested functions and loops


Can there be friend functions in c plus plus?

Yes, there can be friend functions in C++.


What are the in-built function in c plus plus?

C++ built-in functions are those functions that are provided for you as part of the language itself, and includes all of the C standard library functions (all of which were inherited from C) and is expanded upon by the C++ standard template library. C++ implementors may provide additional functions that are platform-specific, however these are not considered built-in functions becuase C++ is a cross-platform language. These are best described as 3rd party functions. The functions you yourself write are known as user-defined functions.


What are some of the benefits of programming in C Sharp?

There are many advantages to C sharp programming like: Not having to define the Headers (.h), Classes can be defined within classes, classes and functions can be defined in random order unlike C and C++, Classes and functions don't need to be declared in the program.


What is the importance of using functions in a c program?

C programs do not function without functions.


How you describe operations of stack ADT using c template functions?

No, because C does not support the concept of template functions. Template functions only exist in C++, never in C.


How does the inline mechanism in C reduce the run-time overheads?

inline functions are compiled very fastly and uses the free memory to boot it as soon as possible


How do you override functions in c?

Not possible in C, only in C++


What is the uses and functions of the GUI?

haahahahahah


Uses and functions of solar heater and solar cooker?

Functions of a solar heater


Which is the best book to start learning the C programming language?

Rather than a book, try googling for C TUTORIAL. Also you will need a good function reference. Peruse the function reference. It is impossible to know all the functions, all of the parameters that the various functions need. The key is to know where to find the information.


What is dos.h?

A non-standard C header file that contained functions specific to accessing functions of MS-DOS. There is no need to use this header file, as there are standard libraries included in all major compilers that replace the functions in DOS.H.