what is the function of void main()?

Answer Posted / chirag sathvara

void main() function,it will flow of the program
execution,what are the next step of line to execute.
for example,
void main()
{
int b=0
cout<<b;
int c=0;
cout<<c;
}
/*it will indicate first create object of int type,after it
will genereate next statement.*/

Is This Answer Correct ?    29 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know the use of fflush() function?

836


What are different storage class specifiers in c?

886


Is it possible to pass an entire structure to functions?

786


What is a list in c?

811


how to count no of words,characters,lines in a paragraph.

4175


When is a void pointer used?

928


Explain about the functions strcat() and strcmp()?

807


What is linear search?

925


What is c standard library?

940


Why we use stdio h in c?

808


Why does this code crash?

864


Explain how do you override a defined macro?

829


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2048


Why we write conio h in c?

776


Write a program to reverse a given number in c language?

886