answersLogoWhite

0

Why functions use in c language?

Updated: 8/17/2019
User Avatar

Wiki User

13y ago

Best Answer

Because you have to: any executable statement in C must belong to one function or another; there mustn't be executable statements outside of functions.and it also reduces the length of the program

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why functions use in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the compound in c language?

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


What is nesting of functions in c language?

Impossibility.


What is the differnce between ordinary function and template function of c language?

The c language does not have template functions. That is a c++ thing.


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 is an identifier. what are the hearing rods for identifier 'c' language?

An identifier is the names given for labels, functions and variables in the c language.


What are functions in c language?

constants, MAX_(function), etc.


What enhance the basic instructions of c language?

Library functions


Why you are use to c language?

I do use am a programmer, because C-language.


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.


What is headderfile in c language?

Header File in C/C++ are the files which contains the definition of the pre-defined functions, data-types & constants, etc. By adding the header file you reduce your job of defining the same functions which are defined earlier by someone else & you can use those functions/data-types easily.


Is c language is heterogeneous?

Programming languages cannot be 'portable', but programs written in C might be portable, if they follow the strictest standards and do not use platform-specific features or functions.


How do you convert HTML to c code?

You can't. HTML is a markup language. C is a programming language. You can make C generate HTML, but C isn't anything like HTML in the way it functions.