Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Why do u use # before include in a C Progam?

9 Answers   IBM,


How can I find out how much memory is available?

1 Answers   Persistent,


can we have joblib in a proc ?

0 Answers  


The differences between Windows XP and Windows Visa

8 Answers   HCL,


How would you obtain the current time and difference between two times?

0 Answers   TISL,


int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }

3 Answers  


What is meant by errors and debugging?

0 Answers  


What is %lu in c?

0 Answers  


Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;

7 Answers  


12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV

4 Answers   Accenture,


What is structure padding ?

3 Answers   HP,


Reverse a string word by word??

9 Answers  


Categories