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 |
Find the largest number from the given 2 numbers without using any loops and the conditional operator.
write an algorithm to display a square matrix.
wap in c to accept n number display the highest and lowest value
Why do we use return in c?
Are the variables argc and argv are always local to main?
write an algorithm and a program to count the number of elements in a circularly singly linked list
write a c program to find the sum of five entered numbers using an array named number
write a program to compare 2 numbers without using logical operators?
Which is better pointer or array?
What are the 3 types of structures?
What does d mean?
What is the difference between far and near ?