When we have more than one main function in a program how
does the compiler know the starting point of the program, i
mean from which main the execution or compilation of the
program begins?

Answers were Sorted based on User's Feedback



When we have more than one main function in a program how does the compiler know the starting point..

Answer / aks

Program doesn't allow more than one main function.

Is This Answer Correct ?    15 Yes 6 No

When we have more than one main function in a program how does the compiler know the starting point..

Answer / rahul sharma

program doesn't allow more than one main method, where as
we have more than one function

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

A good website has the following conditions It should be interactive. It should contain at least 20 images. Title cannot be null and should contain at least 10 letters other than spaces and hyphen (-). The keywords should contain atleast three among the following list : "design", "Graphics", "lovely", "beautiful", "amazing" and "mesmerising" Write a method: boolean isGoodWebsite(boolean isInteractive, int numOfImages, String title,String keywords[]) isInteractive whether the site is interactive or not numOfImages Number of images on the website title Title of the website keywords Array of keywords in the website.

0 Answers  


3.Give the formula for determine the range of the data type?

1 Answers  


Is the IT field raise again? What is the position of IT after 4 years?

0 Answers  


in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'

0 Answers   Infosys,


is try block possible without catch block?

3 Answers  






Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik

0 Answers   Mind Tree,


how can we maintain the previous version scripts to new version.

0 Answers   DST Global Solutions,


what is programmable BIST in today ic design

0 Answers   IIT,


what is log files in qtp what is use

0 Answers   HSBC,


Ordered List tag is

1 Answers  


why we use abstract word in abstract window toolkit in java language.

0 Answers   Infosys,


what is best way to create a Thread class & why?

0 Answers  


Categories