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

program that accepts amount in figures and print that in words

2 Answers   Infosys, Lovely Professional University, Wipro,


main() { printf("hello%d",print("QUARK test?")); }

5 Answers  


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

0 Answers   IBM,


plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .

3 Answers  


Ow can I insert or delete a line (or record) in the middle of a file?

0 Answers  


How does #define work?

0 Answers  


f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?

7 Answers   Hughes,


How main function is called in c?

0 Answers  


a value that does not change during program execution a) variabe b) argument c) parameter d) none

0 Answers  


Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.

1 Answers  


What is s in c?

0 Answers  


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

0 Answers  


Categories