answersLogoWhite

0

Actually, it is:

int main (void)

or

int main (int, char **)

the point where the execution of the program begins

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can you use the float as a return type of the main function in 'C' language?

No, it should be int type or void.


Where void main is called in c?

main() is the function from where the execution starts.


Why do you use void main in C language?

it returns nothing


Why void is used in c language?

void as function return-type means no return value void as function parameter means no parameter void * as pointer type means generic pointer


What an example of a function?

In C-programming: int main (void) { return 0; }


Where does the main function starts and end in c program?

The entry point of a C program is the main function.The function signature might be like one of these:1. int main (void)2. int main (int argc, char *argv[])


What is a function definition in c?

Example: int main (void) { puts ("Here is a function definition"); return 0; }


How function can be nested in c?

A function can call other functions (or itself), but a function-definition cannot be nested in another function-definition: int main (void) { void wont_compile (void) { puts ("Won't compile"); } wont_compile (); return 0; }


How can a person write a program without using printf function in C language?

Here is an example:#include int main (void){puts ("Hello, world");return 0;}


How do you create a function that can pass through parameters in C programming language?

example: static void fun (int x) { printf ("x=%d\n", x); } int main (void) { fun (12); return 0; }


What are the functions of 'C'?

Pieces of program-code, they are identified by their names. Example for function-declaration: int main (void); Example for function-definition: int main (void) { puts ("Hello, world!"); return 0; }


Why you use void res in c programming?

since, the word 'void' in C programming language means that it does not return any value to the user or calling function....this is usually used to specify a type of function...... for this reason w use 'void'in c program..