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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / swetha

void add(int a,int b)
{
int c;
c=a+b;
printf("%d",c);
}

Is This Answer Correct ?    2 Yes 14 No

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

Answer / rupali yadav

no

Is This Answer Correct ?    5 Yes 21 No

Post New Answer

More C Interview Questions

Find the largest number from the given 2 numbers without using any loops and the conditional operator.

2 Answers  


write an algorithm to display a square matrix.

0 Answers  


wap in c to accept n number display the highest and lowest value

2 Answers  


Why do we use return in c?

0 Answers  


Are the variables argc and argv are always local to main?

0 Answers  


write an algorithm and a program to count the number of elements in a circularly singly linked list

1 Answers   Ignou,


write a c program to find the sum of five entered numbers using an array named number

0 Answers   TATA,


write a program to compare 2 numbers without using logical operators?

5 Answers   IBM,


Which is better pointer or array?

0 Answers  


What are the 3 types of structures?

0 Answers  


What does d mean?

0 Answers  


What is the difference between far and near ?

0 Answers  


Categories