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
How can you determine the size of an allocated portion of memory?
Explain the difference between call by value and call by reference in c language?
What are the types of data structures in c?
Explain what standard functions are available to manipulate strings?
What is a MAC Address?
What is the purpose of void pointer?
Why does not c have an exponentiation operator?
What is scope of variable in c?
What does & mean in scanf?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
When we use void main and int main?
Can you assign a different address to an array tag?
Write a program to reverse a given number in c language?
What is the use of linkage in c language?
Is array name a pointer?