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

A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

0 Answers  


void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }

3 Answers   ME, pspl,


WAP to find that given no is small or capital

3 Answers  


why i join syntel?

23 Answers   ABC, Syntel, TCS,


implement OR gate without using any bitwise operator.

1 Answers   Alcatel, Wipro,


what is a constant pointer in C

0 Answers  


how the compiler treats any volatile variable?Explain with example.

1 Answers   Tata Elxsi,


What is the explanation for cyclic nature of data types in c?

0 Answers  


Sir i want e-notes of C languge of BAlaguruswami book i.e scanned or pdf file of balaguruswamy book on c language.PLEASE SEND ME on my mail id ajit_kolhe@rediff.com

8 Answers  


find out largest elemant of diagonalmatrix

0 Answers  


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   Wipro,


In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?

1 Answers   Melstar,


Categories