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

Explain union. What are its advantages?

1034


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

2129


What is multidimensional arrays

1080


Can i use β€œint” data type to store the value 32768? Why?

1153


What is scanf_s in c?

1075


Explain the use of bit fieild.

1105


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1051


What is the use of linkage in c language?

1025


What is null in c?

1026


How to implement a packet in C

2853


Dont ansi function prototypes render lint obsolete?

1083


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1137


What are the advantages of using linked list for tree construction?

1042


What is the use of a β€˜β€™ character?

1051


What is the difference between text and binary i/o?

1018