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
Are bit fields portable?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
simple program of graphics and their output display
Is it better to use a macro or a function?
How does placing some code lines between the comment symbol help in debugging the code?
What is meant by high-order and low-order bytes?
What is c basic?
Explain what does the format %10.2 mean when included in a printf statement?
What is the purpose of ftell?
In a byte, what is the maximum decimal number that you can accommodate?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Is it better to bitshift a value than to multiply by 2?
In which header file is the null macro defined?
How can you convert integers to binary or hexadecimal?
What are header files? What are their uses?