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

Is it possible to run a c program without using main?If yes
HOW??

Answer Posted / valli

in linux while compilation we u mention -nostartfiles it
will work
#include<stdio.h>
abc()
{
printf("hello");
}

Is This Answer Correct ?    9 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are bit fields portable?

1207


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1091


simple program of graphics and their output display

2052


Is it better to use a macro or a function?

1206


How does placing some code lines between the comment symbol help in debugging the code?

1065


What is meant by high-order and low-order bytes?

1106


What is c basic?

1228


Explain what does the format %10.2 mean when included in a printf statement?

1414


What is the purpose of ftell?

1137


In a byte, what is the maximum decimal number that you can accommodate?

1201


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1310


Is it better to bitshift a value than to multiply by 2?

1145


In which header file is the null macro defined?

1402


How can you convert integers to binary or hexadecimal?

1075


What are header files? What are their uses?

1286