Is it possible to run a c program without using main?If yes
HOW??
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / swetha
void add(int a,int b)
{
int c;
c=a+b;
printf("%d",c);
}
| Is This Answer Correct ? | 2 Yes | 14 No |
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
What are the types of type specifiers?
How can you return multiple values from a function?
Expand the following LKB BKL FFG
why integer range between -327680to+32767
What is a const pointer?
Read two numbers from keyboard and find maximum of them?
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?
What are register variables in c?
main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }
can we write a c program with out using main
What is actual argument?