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
Why can arithmetic operations not be performed on void pointers?
What is a 'null pointer assignment' error?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
How can I sort a linked list?
How will you divide two numbers in a MACRO?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
What is a good way to implement complex numbers in c?
What is memcpy() function?
What is string length in c?
What are logical errors and how does it differ from syntax errors?
why do some people write if(0 == x) instead of if(x == 0)?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Explain the process of converting a Tree into a Binary Tree.
What is sizeof int in c?