This is a discussion on is it possible C program without main() fn within the C and C++ forums, part of the Programming Talk category; actually tre is no way u can erite a c prog without main .. now its jus abt bluffing .. ...
|
|||||||
|
|||
|
is it possible C program without main() fn
actually tre is no way u can erite a c prog without main ..
now its jus abt bluffing .. #include<stdio.h> #define decode(s,t,u,m,p,e,d) m##s##u##t #define begin decode(a,n,i,m,a,t,e) int begin() { printf(" hello "); } this prog is encoding main into some other name (here it is "begin ") ## is a merging operator.. Is it correct..... |
| Sponsored Links |
|
||||
|
It is not possible, since only from the main() function we are calling other functions.
__________________
jobs in india |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) | Steve Summit | Tech FAQ | 0 | 06-15-2004 07:00 AM |
| comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) | Steve Summit | Tech FAQ | 0 | 06-01-2004 07:01 AM |
| comp.lang.c Answers to Frequently Asked Questions (FAQ List) | Steve Summit | Tech FAQ | 0 | 06-01-2004 07:00 AM |
| comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) | Steve Summit | Tech FAQ | 0 | 05-15-2004 07:00 AM |
| Apple II Csa2 FAQs: Telecom Hardware & Transfers, Part 20/25 | rubywand@swbell.net | Tech FAQ | 0 | 04-04-2004 08:29 AM |