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...

whitch value return void main?

Answer Posted / trushali

when we write void main it means its not returning any value
to main function,so we do not need write return 0 at the end
of program.
but when we write main only then by default compiler
consider it as int main,and at the end we need to write
return 0(means successful completion of the program without
any problem).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between #include<...> and #include '...'

1110


Define macros.

1324


What are the types of pointers?

1183


i have a written test for microland please give me test pattern

2777


Is main a keyword in c?

1179


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

1135


what is the role you expect in software industry?

2196


What is self-referential structure in c programming?

1275


Why is it important to memset a variable, immediately after allocating memory to it ?

2130


what is different between auto and local static? why should we use local static?

1169


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3741


Can we declare function inside main?

1047


How can I read a binary data file properly?

1244


What does c mean?

1105


write a program to rearrange the array such way that all even elements should come first and next come odd

2349