why we should use main in C

Answer Posted / narendra allam

We can write a Program without main() function in C-language.

There should be one entry point in the program, so we need a
function to satrt with. In linker scripts it is mentioned,
we can change it through -e option for 'ld' linker with gcc.

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about Multi-Threaded ISAPI DLLs ?

1805


How SQL Links determines if an MSSQL table can refreshed?

1338


How to Copy a information from one memo field to another using TBlobStream ?

1154


How to Debug an In-Proc COM Server?

1200


How to draw transparent text onto a TBitmap ?

1296






what are the Versions of DB2 supported by BDE 5.10 ?

1215


How to use Access97 drivers with BDE 4.51 ?

1455


How to Pass TPrinter handle to GetDeviceCaps() ?

1496


How to Determine the last access time of a given file ?

1389


How to Select a cell in a DBGrid ?

1651


How to create a power function?

1616


How to Extract RGB components of a color?

1937


How to Read dos environment variables?

1293


How to Change the papersize of a print job ?

1382


How to run executables created in Kylix?

1242