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...


write a program without using main function?

Answers were Sorted based on User's Feedback



write a program without using main function?..

Answer / raavi.swami

#include<stdio.h>
#define begin main
void begin()
{
printf("Hello");
}

Is This Answer Correct ?    27 Yes 2 No

write a program without using main function?..

Answer / siva koratani

#include<stdio.h>
#define begin m##a##i##n
void begin()
{
printf("Hello");
}

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More C Interview Questions

the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

0 Answers  


What are the characteristics of arrays in c?

0 Answers  


which is conditional construct a) if statement b) switch statement c) while/for d) goto

0 Answers  


when to use : in c program?

2 Answers  


we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?

2 Answers   Convergys,


what are brk, sbrk?

1 Answers   Oracle,


how does printf function work

1 Answers  


what will happen if you free a pointer twice after allocating memory dynamically ?

3 Answers   Novell,


1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop

2 Answers  


What is volatile variable in c with example?

0 Answers  


what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.

6 Answers   HCL,


How to develop software using "c" programming?

1 Answers   IBM, TCS,


Categories