CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions OneStopTesting.com - Testing EBooks, Tutorials, Articles, Jobs, Training Institutes etc.
OneStopGate.com - Gate EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopMBA.com - MBA EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopIAS.com - IAS EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopSAP.com - SAP EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopGRE.com - of GRE EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.

Sponsored Links

Interview Questions
Our Services



INTERVIEW QUESTIONS GENERAL DETAILS
Question :

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

Posted by: ashish on 5/19/2013

Contact ashish Contact ashish

Category General Interview Questions
Rating (3.5) By 44 users
Added on 5/19/2013
Views 771
Rate it!


Answers:

Source: CoolInterview.com

Every function has a default return type as int .. void main () ensures that the main function does not return anything

Source: CoolInterview.com



Posted by: Zoheb

Contact Zoheb Contact Zoheb

Source: CoolInterview.com

Void main,void means doesn't return anything.void is a garbage collection of values.The default return type will be int.
Source: CoolInterview.com



Posted by: krithikha

Contact krithikha Contact krithikha

Source: CoolInterview.com

void main() - It will not return anything...

main() - It will return a value of type int...

main(void) - It will return a value of type int without taking any arguments...
Source: CoolInterview.com



Posted by: richa

Contact richa Contact richa

Source: CoolInterview.com

void main() returns NULL to the os as dennis richtie said n main() return the integer value coz default work as a int main().
Source: CoolInterview.com



Posted by: nitin R S Chaudhary

Contact nitin R S Chaudhary Contact nitin R S Chaudhary

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
How can I save a file with a password when that file is already saved (without password)
View Answer
I have saved a file and later on wants to save it with a password. How can I do this ?
View Answer
What routing protocol uses the most bandwidth?
View Answer
Why do you want to leave the current job that you are in now?
View Answer
In an interview how does the company select any candidate? on wat basis.
View Answer
A 'C' program to find out the most frequent word in a given input file of text,neglecting the case sensitive condition.
View Answer
Why i should do MBA?
View Answer
Can you work under pressure?
View Answer
Tell me about summer training in B.Tech 2nd yr with Computer Science?
View Answer
Difference between jsp writer and print writer.
View Answer
Why do you think you would be a good candidate for this position?
View Answer
What is the largest prime number stored in 8 bit memory?
View Answer
Define lexical analysis?
View Answer
Tell me about yourself ?
View Answer
How to expalin favourite spot in an interview? breifly with example
View Answer
Why do your percentage from 1st semester decreases till your 5th semester?
View Answer
How can I extend my self introduction for 10-15 minutes?
View Answer
What is the difference between programmer and developer
View Answer
What should i say if anybody ask me to say about me which is not in my resume.
View Answer
What salary you are expecting from company?
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View ALL General Interview Questions & Answers



User Options
India News Network

Latest 20 Questions
What is an execution plan? When would you use it?
What is BCP? When does it used?
What are the advantages of using Stored Procedures?
What is a Scheduled Jobs or What is a Scheduled Tasks?
What is NOT NULL Constraint?
What is CHECK Constraint?
What is FOREIGN KEY?
What is UNIQUE KEY constraint?
What is PRIMARY KEY?
What is the difference between a Local and a Global temporary table?
Name 3 ways to get an accurate count of the number of records in a table?
What is Log Shipping?
What is SQL Server Agent?
Which command using Query Analyzer will give you the version of SQL server and operating system?
What are the authentication modes in SQL Server? How can it be changed?
What is SQL Profiler?
What are the properties and different Types of Sub-Queries?
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?
When is the use of UPDATE_STATISTICS command?
What is difference between DELETE and TRUNCATE commands?



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions



Cache = 0.005859 Seconds