answersLogoWhite

0

Where void main is called in c?

User Avatar

Anonymous

16y ago
Updated: 8/17/2019

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

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Why to write void main in c programing?

it is always not necessary to write "void main " in c programming.it depends on the source code we use if we have to return a value then void is not necessary because void returns the null.While coding in borland C++ we need to write void main but we dont need it in dav c++.In C (and C++) the standard allows int main (void) and int main (int argc, char **argv)


What is the role of void in functions of c?

this is a void main()int, char, are execution the program and it is not return the void.


C progamme for conversion of Celsius to Fahrenheit using array?

main void void void (void) { float temp1 [13]= {1,4,2,3,4,5,7,88,9,4,3,23,12};


What is the function of void main in c language?

Actually, it is:int main (void)orint main (int, char **)the point where the execution of the program begins


Why do you use void main in C language?

it returns nothing


What are the different turbo-c programs?

There are quite a lot of different C-programs, eg: int main (void) { puts ("One of them"); return 0; } int main (void) { puts ("Another"); return 0; }


Write a c program to have followiing as output?

void main() { printf("followiing"); }


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[])


Why do you write void to the first of main in c?

This is really unclear. If you're asking why you should write void main() then the answer is that you shouldn't. main can return an int as an error code, so it's better to do int main() instead.


How do you use call by reference in c plus plus?

Call by reference means calling a function using a reference to a variable or a pointer. You call a function by passing refrences to a variable. For eg: void x(int &a) { a=2; } void main() { int s=3; x(s); } OR void a(int &c) { c=5;}void main(){ int *p; *p=2a(*p);}


A program in c?

int main (void){puts ("Hello world") ;return 0 ;}