Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / vrushali
Hi Valli,
I tried the solution provided by you. It doesnot work.
Please chk the compliation procedure.
gcc -g -nostartfiles main.c
I am getting the following:
/usr/bin/ld: warning: cannot find entry symbol _start;
defaulting to 080481a4
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Why is main function so important?
What is the g value paradox?
Explain what are the standard predefined macros?
What is the use of bit field?
What are comments and how do you insert it in a C program?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Explain how do you generate random numbers in c?
What is the significance of an algorithm to C programming?
What is the purpose of sprintf() function?
What are the different types of endless loops?
How to draw the flowchart for structure programs?
Explain what will the preprocessor do for a program?
Explain what is the concatenation operator?
int i=10; printf("%d %d %d", i, i=20, i);
Write a program to print factorial of given number without using recursion?