Main must be written asA. The first function in the programB. Second function in the programC. Last function in the programD. Any where in the program

This question is related to TCS Interview

Showing Answers 1 - 24 of 24 Answers

Amit Tyagi

  • Jan 29th, 2006
 

(A)

  Was this answer useful?  Yes

laxmikanth

  • Feb 10th, 2006
 

main can be written any where in the program.To be frank main is a user defined word and it is a platform to call any function.

Abhishek

  • Feb 18th, 2006
 

i think  main is a library function  and not a user defined function however it can be placed anywhere.

bairaviuthra

  • Jun 19th, 2007
 

Its not a must that main must the first function to be written but it is the first function executed.

hrs1129

  • May 28th, 2008
 

perfectly speaking main() is a fun in which all the program exists so A. THE FIRSTFUN IN THE PROGRAM . IS THE RIGHT ANSWER

  Was this answer useful?  Yes

Karthkeyan

  • Apr 20th, 2012
 

Any where in the program

  Was this answer useful?  Yes

neha singh

  • Nov 20th, 2012
 

D. Any where in the program.

  Was this answer useful?  Yes

charanjeet kaur

  • Jun 9th, 2013
 

D...any where in the program.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions