answersLogoWhite

0

Why we need function in c?

User Avatar

Viijaya

Lvl 1
14y ago
Updated: 8/18/2019

To break up the program into smaller pieces to help us understand the use of a function.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Can you write any c prigramme in c language witthout any function?

No. At minimum, you need to provide a main() function.


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


What is the operator of power in c plus plus?

There is no "power" operator in C or C++. You need to the use the math library function pow().


How do you proving ono-to-one function?

Suppose the D and C are the domain and codomain of the function. Then you need to show that for and x in D there is an image y = f(x) in C. This is necessarily so, because f is a function. You also need to show that for every element y in C there is a pre-image x = g(y) in D.


How does the word function apply in mathematics?

A function is a mapping from a set D to a set Cwhere each element of D is mapped to one (and only one) element of C. D and C are the domain and codomain (range) of the function, and they need not be distinct.


How do you correct the C plus plus programming error missing function header?

You need to #include the header file that contains the missing function's declaration.


What is C and function it?

It is a letter and function it.


Main function in c?

The main function defines the entry point of an application in C.


How do you use this function in c programme?

I don't use that function in C programme.


What are the building function in c plus plus?

There is no such term as "building function" in C++.


Do I need a c wire for my furnace to function properly?

Yes, a C-wire is typically needed for a furnace to function properly, as it provides a continuous source of power to the thermostat. Without a C-wire, the thermostat may not work correctly or may cause issues with the furnace's operation.


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.