ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
Hi,
main()
{
}

Is a user defined function or Built in Functionn
 Question Submitted By :: Raghav_jk
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 1
it's a inbuilt function but it don't return any value 
because void is used to return a charachter value.
 
Is This Answer Correct ?    6 Yes 9 No
Narender Vadhava
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 2
it's actually user defined built in function...... since we
the user gave the function name as main() when we write the
coding for the compailer........
 
Is This Answer Correct ?    8 Yes 13 No
Vignesh1988i
 
 
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 3
main () is user defined function built in function.....
bcoz we define what it will do... and it already has it's 
name as main.
 
Is This Answer Correct ?    1 Yes 6 No
Abhishek Munde
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 4
Its a user defined function. How can it be inbuilt 
function? We are the one who writes the main function. 
Program execution starts with main function. We can also 
compile a code without main, but we cant create exe, since 
it requires a main function to execute.
 
Is This Answer Correct ?    14 Yes 0 No
Manjunath
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 5
main() itself is a predefined function.

where as main() is a userdefined function because there we 
are writing the internal part.
 
Is This Answer Correct ?    9 Yes 0 No
Sree
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 6
main() is a user defined function. it is the entry point of 
any program. 
At run time the main() function is searched as the entry to 
start the program.
 
Is This Answer Correct ?    7 Yes 0 No
Vikas Kumar Shakya
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 7
main is a system declared user defined function
 
Is This Answer Correct ?    7 Yes 0 No
Yogesh Bansal
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 8
it is an inbuilt function i.e, main() it indicates the
starting of the program and it is a user defined function
when the user defines it as void main() or int main(void).
 
Is This Answer Correct ?    0 Yes 2 No
Lakkup
 
  Re: Hi, main() { } Is a user defined function or Built in Functionn
Answer
# 9
it is built in function because (main )codings are written 
by the software developer.so,we cant change anything in 
this built in function.but user defined functions are 
changed by us.
so it is built in function
 
Is This Answer Correct ?    1 Yes 1 No
Divya
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
if array a conatins 'n' elements and array b conatins 'n-1' elements.array b has all element which are present in array a but one element is missing in array b. find that element. Zycus-Infotech9
AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST? HCL12
What is encapsulation?  1
wats the diference btwen constant pointer and pointer to a constant.pls give examples.  6
what is the different between if-else and switch statment (other than syntax) CTS9
In scanf h is used for BFL2
what is differnence b/w macro & functions  1
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms Convex-Digital4
write a program that print itself even if the source file is deleted?  1
difference between i++* and *++i IBM3
What's the best way to declare and define global variables?  5
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?  2
what is call by value and call by reference  2
Write a program to write a given string in maximum possibilities? i.e str[5]="reddy"; i.e we can write this string in 120 ways for that write a program Subex3
difference of two no's with out using - operator  6
why java is called as a purely oops language.  2
post new interiew question and aptitude test papers  1
WAP – represent a char in binary format Motorola4
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4  1
Predict the output or error(s) for the following: 25. main() { printf("%p",main); } ME3
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com