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
Can I initialize unions?
How can I trap or ignore keyboard interrupts like control-c?
Explain how do you override a defined macro?
What is the right type to use for boolean values in c? Is there a standard type?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Explain what is the benefit of using const for declaring constants?
What is string concatenation in c?
What is the use of f in c?
Write a program to reverse a string.
What is the use of header?
How can I read in an object file and jump to locations in it?
How can I get the current date or time of day in a c program?
Differentiate between declaring a variable and defining a variable?
Is that possible to add pointers to each other?
Which header file is essential for using strcmp function?