what is the function of void main()?

Answer Posted / bunny

It marks the beginning of the main body of the program and
also ensures that it is properly executed. Basically, void
main() creates the base for the program.

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is the purpose of 'register' keyword in c language?

628


Does * p ++ increment p or what it points to?

627


main() { printf("hello"); fork(); }

705


What is the symbol indicated the c-preprocessor?

705


What is the use of c language in real life?

542






Write a program to find factorial of a number using recursive function.

660


What's a good way to check for "close enough" floating-point equality?

636


Do pointers store the address of value or the actual value of a variable?

619


Ow can I insert or delete a line (or record) in the middle of a file?

583


What is context in c?

547


If null and 0 are equivalent as null pointer constants, which should I use?

589


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

924


What is the difference between ++a and a++?

707


What is null pointer in c?

606


What is header file in c?

612