Hi,
main()
{
}

Is a user defined function or Built in Functionn

Answer Posted / manjunath

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 ?    55 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to reverse a linked list in c.

744


Explain how can you determine the size of an allocated portion of memory?

717


What is structure of c program?

693


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1406


What is the use of linkage in c language?

699






What is a function simple definition?

727


Is c is a middle level language?

696


What are identifiers and keywords in c?

662


Explain output of printf("Hello World"-'A'+'B'); ?

1058


How can I read a binary data file properly?

711


Explain what is the best way to comment out a section of code that contains comments?

812


What is the difference between printf and scanf )?

687


What is masking?

748


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1721


Can we add pointers together?

712