main() is the function from where the execution starts.
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)
this is a void main()int, char, are execution the program and it is not return the void.
main void void void (void) { float temp1 [13]= {1,4,2,3,4,5,7,88,9,4,3,23,12};
Actually, it is:int main (void)orint main (int, char **)the point where the execution of the program begins
it returns nothing
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; }
void main() { printf("followiing"); }
In C-programming: int main (void) { return 0; }
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[])
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.
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);}
int main (void){puts ("Hello world") ;return 0 ;}