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 use of c language in real life?
What functions are used in dynamic memory allocation in c?
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
main() { int x=5,y=10,z=0; x=x++ + y++; y=y++ + ++x; z=x++ + ++y; printf("%d%d%d\n",x,y,z); }
What does main () mean in c?
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
Explain spaghetti programming?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is the sizeof () a pointer?
Juxtapose the use of override with new. What is shadowing?
IS Doon college of Engn.. has good faculty
What is the difference between test design and test case design?