Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can we write a c program with out using main

Answer Posted / kamini

#include<stdio.h>
#include<conio.h>
#define decode(s,t,u,m,p,e,d) m##s##u##t
#define begin decode(a,n,i,m,a,t,e)

void begin()
{
printf(" hello ARUN");
getch();
}

Ans was correct but if the function is declare int dn it has to be return some value so it should be void.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

int far *near * p; means

3623


Can a local variable be volatile in c?

1056


When a c file is executed there are many files that are automatically opened what are they files?

1152


In C language what is a 'dangling pointer'?

1242


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1426


What is a newline escape sequence?

1162


What is data structure in c programming?

1132


When we use void main and int main?

1131


What is the use of extern in c?

1150


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

2044


What is the deal on sprintf_s return value?

1189


what is the difference between class and unio?

2418


What are the c keywords?

1258


What is the use of putchar function?

1109


What are structural members?

1066