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

What does dm mean sexually?

806


Explain what are binary trees?

604


Is there sort function in c?

572


What is meant by realloc()?

668


Why can’t we compare structures?

803






What is the equivalent code of the following statement in WHILE LOOP format?

761


c program for searching a student details among 10 student details

1646


What is the use of a static variable in c?

585


What is context in c?

534


What is the difference between new and malloc functions?

572


Write a program that accept anumber in words

1246


What is static memory allocation? Explain

626


What standard functions are available to manipulate strings?

554


Explain how can I read and write comma-delimited text?

646


How can you tell whether a program was compiled using c versus c++?

613