Is it possible to run a c program without using main?If yes
HOW??
Answers were Sorted based on User's Feedback
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 |
Answer / swetha
void add(int a,int b)
{
int c;
c=a+b;
printf("%d",c);
}
| Is This Answer Correct ? | 2 Yes | 14 No |
What is the best way of making my program efficient?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
What is wrong in this statement?
what is a function pointer and how all to declare ,define and implement it ???
what is default constructor?
What is restrict keyword in c?
What is Dynamic Initialization.
can we execute the program with the object file
a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A)a,b&c B)Only a & b C)Only c D)All
3 Answers Accenture, Digg.com,
What is the function of this pointer?
0 Answers Agilent, ZS Associates,
The difference between printf and fprintf is ?