Is it possible to run a c program without using main?If yes
HOW??

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functions to open and close file in c language?

733


How can this be legal c?

656


When should the const modifier be used?

660


What is the difference between #include and #include 'file' ?

610


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1525






i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1848


Where are c variables stored in memory?

601


What does the && operator do in a program code?

700


What are all different types of pointers in c?

581


Is boolean a datatype in c?

553


What does s c mean on snapchat?

590


What’s a signal? Explain what do I use signals for?

614


How can you convert integers to binary or hexadecimal?

622


What is the use of ?: Operator?

671


Difference between MAC vs. IP Addressing

644