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

Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1140


What is the difference between if else and switchstatement

1938


What are inbuilt functions in c?

1038


What are static variables in c?

1085


What is the difference between abs() and fabs() functions?

1135


What is the significance of scope resolution operator?

1418


What are the advantages of external class?

1071


Explain what is the use of a semicolon (;) at the end of every program statement?

1233


How can I read a binary data file properly?

1180


Write a program to print all permutations of a given string.

1201


What does %p mean?

1090


how to execute a program using if else condition and the output should enter number and the number is odd only...

2308


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1264


Differentiate between full, complete & perfect binary trees.

1113


Tell me what is the purpose of 'register' keyword in c language?

1012