answersLogoWhite

0

There are many reasons,

One simple reason, is that functions group a certain sequence of code statements under one function name. So that if you need to run these set of code statements multiple times and at various occasions, instead of copy/pasting that whole set at various places in your source code, you can simply call the function using its name.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

When auto variable create?

Program enter function.


What function does the fdisk program perform?

With FDISK you can create or delete harddisk partions or logical drives


Why we need function in c?

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


How do you create a pie graph?

you need a program like quickbooks or peachtree.


Which type of attack does not need attach itself to another program to function?

worm


Is it possible to create a computer screen that does not need to emit light to function?

No, that is not possible.


Why do you need a database?

is a program that allows you to create and managedatabases. Adatabase is a place where you can store information related to a specific topic. How you intend to use the information will determine whether you need an Access database or a different program to create and manage your data


How do you write a c program without using main function?

You cannot create a program with the extension .exe without the function main. You can create a dll which does not even use main. WinApi uses another main function but it's still a main function. Main function is entry point for your program, no entry point no program.Write a progrmme in c with out using a main function. #include #define decode(s,t,u,m,p,e,d)m##s##u##t #define begin decode(a,n,i,m,a,t,e) int begin() { printf("HELLO") }


Which function is supported by an application program?

which function is support by an application program


You have to have a disc on-hand or do a Google search for an .iso file for the program you need, create an image disc, and then use that disc to install your program using the keycode that you purcha?

You have to have a disc on-hand or do a Google search for an .iso file for the program you need, create an image disc, and then use that disc to install your program using the keycode that you purchase here.


What is the main function of that organization?

to pump blood throughout the body and keep you alive.


What are its program components?

the main() function,the#include Directive, the variable definition. function prototype, program statements, the function definition,program comments and braces are the components of program in C++