answersLogoWhite

0

name ( parameters )

example:

int main (int argc, char **argv)

{

int i;

for (i=0; i

printf ("%d: '%s'\n", i, argv[i]);

return 0;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is meant by a function call?

A function call is where you "call" a function and execute its body. For example: void example() { } int main() { example(); // call the function "example" and execute its bodyreturn 0; }


Where is the fuction call of main function?

The main function is the entry point into a program. When the Operating System launches the program the main function gets executed.


What do you call the process of testing flow of control between a main function and its subordinate function?

function-call and returning (actually, it is 'passing', not 'testing')


How you write a c program for making a call in gcc?

int main() { // Call the printf function printf("This is a function call!\n"); return 0; }


What is the main function of C?

The main function is the entry point for the application. Each program written in C or C++ will start at the first line in the main function, and cease execution once the main function returns control to the operating system (either via a return keyword in the main function, an exit(3) function call, or by "running off" the end of the main function). A program will not compile if it is missing the main function. Some variants of C++ have an alternate entry point (including those written for Microsoft Windows).


Why you have to put empty parathensis after main function?

Empty parenthesis is a self invoked function that is executed immediately after its created. IT makes the function an expression and any subsequent function, the call.


Does a function call come before main?

It does not have to. What is necessary, is that a function be declared before using it, so you either need function declaration separately from definition, or you need to arrange the declaration/definition in the right order, which usually places the main() function last.


Where does c language program begin execution?

The execution of the program starts with function main, wherever it is in the source.


How the function is called in c?

That's up to you, except for the main function, the name of which has to be main.Or, if you want to know how to call a function, it's simply by its name, followed by an argument list, eg:int main (void){puts ("I have just called function puts");return 0;}


Why use the void display()?

void display is the function name in which we want to perform some task or it might be to display something. But it has got its residence in the main() function that means that function's inputs are being supplied from the main(). void doesn't return anything so function call is made in main() which doesn't return anything back to it.


What function in Microsoft Excel 2003 to write the amount in word?

Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.Such a function does not exist for English. A function call BAHTTEXT will do it for the Thai language.


How is a procedure identified as near or far?

The far procedure is used at the place where the function call is given in main program and function definition is given in sub program....