GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 4 of 87    Print  
Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
C



  
Total Answers and Comments: 7 Last Update: February 24, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 17, 2005 06:49:01   #1  
brijesh jain        

RE: Main must be written asa.the first function in the programb.Second function in the programc.Last fun...
The answer can be option D. 
 
Main can be written anywhere in C program.

 
Is this answer useful? Yes | No
August 23, 2005 03:01:50   #2  
Sinic        

RE: Main must be written asa.the first function in the programb.Second function in the programc.Last fun...
It's not sensitive the position of the Main function in C program so answer is D
 
Is this answer useful? Yes | No
August 25, 2005 02:00:01   #3  
rp        

RE: Main must be written asa.the first function in the programb.Second function in the programc.Last fun...
answer is D 
where ever be the main,execution starts from there. so no problem 

 
Is this answer useful? Yes | No
February 03, 2006 22:41:25   #4  
MAHAVEER PATIL        

RE: Main must be written asa.the first function in...
second function in the programme
 
Is this answer useful? Yes | No
April 05, 2006 16:29:13   #5  
ratnakar        

RE: Main must be written asa.the first function in...

In C there are no function declarations

only definitions so main is the last in the program.


 
Is this answer useful? Yes | No
April 23, 2006 01:06:23   #6  
GOKILA        

RE: Main must be written asa.the first function in...
hey, main() can be written anywhere in the program
 
Is this answer useful? Yes | No
February 23, 2007 23:57:49   #7  
saravanan        

RE: Main must be written asa.the first function in...
main() function can be written anywhere in the pgm but it should be include in the pgm

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape