What is the difference between void main() and int main()?



What is the difference between void main() and int main()?..

Answer / nashiinformaticssolutions

void main() is not standard; int main() is required by the C standard to return an integer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

0 Answers  


Explain what is the difference between the expression '++a' and 'a++'?

0 Answers  


Which weighs more, a gram of feathers or a gram of gold?

2 Answers  


What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }

4 Answers   CTS, Oracle,


how to get the starting address of file stored in harddisk through 'C'program.

2 Answers   Siemens,


Explain how do you print only part of a string?

0 Answers  


How do I copy files?

0 Answers  


What is a pointer on a pointer in c programming language?

0 Answers  


How do you convert strings to numbers in C?

0 Answers  


what is the difference between NULL & NUL keywords in C?

3 Answers  


how to implement stack work as a queue?

2 Answers  


What is openmp in c?

0 Answers  


Categories