Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / vrushali
Hi Valli,
I tried the solution provided by you. It doesnot work.
Please chk the compliation procedure.
gcc -g -nostartfiles main.c
I am getting the following:
/usr/bin/ld: warning: cannot find entry symbol _start;
defaulting to 080481a4
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is 02d in c?
a c code by using memory allocation for add ,multiply of sprase matrixes
Write program to remove duplicate in an array?
What is indirection in c?
What are the different types of pointers used in c language?
How do I determine whether a character is numeric, alphabetic, and so on?
Write a program to print "hello world" without using a semicolon?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
How do you generate random numbers in C?
Who developed c language and when?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is masking?
How to write a code for reverse of string without using string functions?
What is the advantage of an array over individual variables?
What does %d do in c?