main is a predefined or user define function
if user defined why?
if predefined whay?

Answers were Sorted based on User's Feedback



main is a predefined or user define function if user defined why? if predefined whay?..

Answer / shankar dayal

main() function is niether predefined nor user defined function. Because if it is predefined, when program is written in main() function then given their own logic then how it is predefined. Another one if it is user defined, then we can write the any function name on the place of main(). So main() is niether a predefined nor user defined function.

Is This Answer Correct ?    1 Yes 4 No

main is a predefined or user define function if user defined why? if predefined whay?..

Answer / ankith.v

main is Predefined.why because its is implemented by the
developer

Is This Answer Correct ?    3 Yes 13 No

Post New Answer

More C Interview Questions

Is there a built-in function in C that can be used for sorting data?

0 Answers  


What is #line in c?

0 Answers  


how to implement stack work as a queue?

2 Answers  


We can draw a box in cprogram by using only one printf();& without using graphic.h header file?

4 Answers   NIIT,


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

0 Answers  


nic scientist exam

1 Answers   NIC,


Can we use visual studio for c?

0 Answers  


what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;

2 Answers   Google,


What is hungarian notation? Is it worthwhile?

0 Answers  


How we can write a value to an address using macro..?

0 Answers   Tata Elxsi,


Differentiate Source Codes from Object Codes

1 Answers  


a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above

2 Answers   HCL, NBN,


Categories