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 disable the Delphi / Borland C++ Builder splash screen ?
How to Access a grid's column or row by name ?
What is DCOM Dependency?
'Interface mismatch. Engine version different' . what does this error indicates?
Are there any tools to help me migrate my applications to Delphi?
How to Access HKEY_LOCAL_MACHINE under NT without Admin?
How to Implement the VB TwipsPerPixel in Delphi ?
How to get serial number of my drive ?
what are Hetergenious joins ?
How to Declare a SafeArray in the type library editor?
What are the Color reduction techniques for graphics?
How to Re-execute export From Table ?
How to debug an Apache Shared Module?
How to Flush binary file from disk cache to disk ?
How to Hide the application from the Windows Taskbar?