what is the function of void main()?

Answer Posted / anu

void main() is a function. It is used in a program when a
function has no return value.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use int main?

846


Can a pointer point to null?

798


Do you know the use of fflush() function?

816


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1021


What's the difference between constant char *p and char * constant p?

900


Why do we need functions in c?

748


Write a program with dynamically allocation of variable.

864


Can a local variable be volatile in c?

770


How is a macro different from a function?

877


How do you print an address?

986


Explain About fork()?

849


What is the use of #define preprocessor in c?

836


Explain about the constants which help in debugging?

1096


What is the difference between variable declaration and variable definition in c?

817


What is static function in c?

850