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

Using which language Test cases are added in .ptu file of RTRT unit testing???

4262


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2432


Linked lists -- can you tell me how to check whether a linked list is circular?

1071


how to write optimum code to divide a 50 digit number with a 25 digit number??

3251


What is dynamic dispatch in c++?

1041


how many key words availabel in c a) 28 b) 31 c) 32

1059


How to declare a variable?

991


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

1039


Why isn't it being handled properly?

1047


What is the code in while loop that returns the output of given code?

1952


What are local static variables? How can you use them?

1127


What are different types of operators?

1023


what is the different bitween abap and abap-hr?

2298


What are void pointers in c?

984


What is #include cctype?

1108