Is Main Function In C/c++ User Defined Function Or Predefined Function? - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Is Main Function In C/c++ User Defined Function Or Predefined Function? (3920 Views)
| Is Main Function In C/c++ User Defined Function Or Predefined Function? by pskchary(op): 6:31pm On Oct 14, 2008 |
is main function in C/C++ user defined function or predefined function?plz answer for this with explanation. |
| Re: Is Main Function In C/c++ User Defined Function Or Predefined Function? by Kobojunkie: 7:20pm On Oct 14, 2008 |
pre-defined. Main is the entry point to your application that the compiler expects to see when running your application but in there you can make calls to your user defined functions. |
| Re: Is Main Function In C/c++ User Defined Function Or Predefined Function? by zaibatsu(m): 12:30am On Oct 16, 2008 |
@Poster Your question is a bit vague. Kobo has already answered the better part of it. Here's what's left. Some compilers (e.g devC++) pre-declare the main function when the user creates a new C++ project. In others, the actual declaration of the main function is done by the user. The user initiated declaration is usually better tailored to the peculiarities of ones project. |
| Re: Is Main Function In C/c++ User Defined Function Or Predefined Function? by pskchary(op): 4:56am On Oct 16, 2008 |
thank u for giving me the answer. |
[problem] Write A Program In C++ That Finds The Hcf Of 2 Numbers Without Using A Recursive Function • Simple Code Challenge: C#, Java, C, C++ • Without Using Pow Function In C • 2 • 3 • 4
Programming Challenge • Ways To Easily Get Content For Your Blog Or Website • Creative Skills To Improve Your Essay Writing