Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / swetha
void add(int a,int b)
{
int c;
c=a+b;
printf("%d",c);
}
| Is This Answer Correct ? | 2 Yes | 14 No |
Post New Answer View All Answers
Explain what is the best way to comment out a section of code that contains comments?
Why main is used in c?
What are the basic data types associated with c?
What is structure data type in c?
What is declaration and definition in c?
Tell me can the size of an array be declared at runtime?
How are portions of a program disabled in demo versions?
How can you be sure that a program follows the ANSI C standard?
write a program to copy the string using switch case?
What is a pointer variable in c language?
Write a program to reverse a string.
What is array of pointers to string?
What are global variables and explain how do you declare them?
How can you increase the allowable number of simultaneously open files?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +