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 |
What is a spanning Tree?
What is pointers in c?
What is the size of enum in bytes?
What is the scope of static variables in c language?
How do you print only part of a string?
Write a program to print prime nums from 1-20 using c programing?
can we initialize all the members of union?
How do you use a 'Local Block'?
What is getch?
Which header file is essential for using strcmp function?
What is #line?
What is Conio.h ?