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

Answer Posted / valli

just compile as
cc -nostartfiles main.c

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between array and structure in c?

563


define string ?

660


List the difference between a "copy constructor" and a "assignment operator"?

574


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1468


Tell me about low level programming languages.

634






What is 'bus error'?

635


What is an example of structure?

581


When is a void pointer used?

672


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

1766


What are the uses of null pointers?

588


What is getch c?

844


Explain the ternary tree?

593


What are the features of the c language?

636


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

619


Differentiate abs() function from fabs() function.

588