Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / ramabrahmam
hi adesh,
your logic is not suited to numbers.
suppose, if we write "printf" as
for two integers a,b
printf("sum of a and b is",a+b);
for this statement it only displaying the letters
within the double quotes.i.e., sum of a and b is .
it is not displaying anything after that.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain what is page thrashing?
What is use of #include in c?
Ow can I insert or delete a line (or record) in the middle of a file?
What is an lvalue in c?
Define C in your own Language.
What is difference between array and pointer in c?
What is an endless loop?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What are the similarities between c and c++?
What is the difference between int main and void main?
Explain how are portions of a program disabled in demo versions?
What is a pointer on a pointer in c programming language?
What does typedef struct mean?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
What is the use of header?