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 IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1859


What is far pointer in c?

813


Explain the use of fflush() function?

628


What is spaghetti programming?

670


What are data types in c language?

586






What does c mean in standard form?

599


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

653


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

766


Can we compile a program without main() function?

636


Write a program to swap two numbers without using the third variable?

597


What is a struct c#?

601


What is the explanation for the dangling pointer in c?

682


Do you know the purpose of 'register' keyword?

642


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

670


In which language linux is written?

605