Answer Posted / sureshg
No, we can execute a pgm without main also, see here sorry do this pgm in your system with gcc compiler,,,,,
#include<stdio.h>
int exit(int);
{
printf("hello welcome to my answer");
exit(0);
}
while u compile this pgm type
gcc -nostartfiles filename.c
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to Migrate a project from Delphi 1 or 2 to Delphi 3 ?
How to avoid an access violation when using the move procedure?
How to create a console application in Kylix?
what is Auto increment Build Number?
Hi is there is any tool to debug Delphi ISAPI dlls in borland 2006 framework. AS i am a new to delphi borland i need a detailed description for debugging the web application in delphi as per my analysis the ISAPI dlls calling the htm files please help me ....
How to Send a file via DCOM ?
How to assign a file variable in a Record?
How to Open an explorer window to a given folder?
How to assign a Null value to a numeric field in a table?
what are the different Dataset event handlers?
'Translate error, value out of bounds' error what does these errors mean?
How to do Sorting on Calculated fields ?
How to Test IDispatch Descendants?
why you want to make your future in SAP?.
Write a program to show the memory leak?