answersLogoWhite

0

It is not possible.

In C, any program must have at least one function to be able to compile and execute properly: the function main()

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Can you compile program without header file?

Yes,we can compile our program without header file without any error,but we can not use any predefine functions like printf,scanf.


Can you write a c program without using headerfile?

Yes, but if you intend to do any useful work and call any library functions, you will need to know their prototypes in order to call them. That's one of the values of the headerfile.


How do you link a C plus plus program to C functions?

It should work without any special action.


Can you write a program without using any semicolon inside the main function?

not possible dude


Can you write a program without specifying the prototype of any function?

You can write a program without specifying its prototype when the function returns an integer.If the prototype is not mentioned the compiler thinks that the return type of the function used is integer.When making program which return integer you can ignore writing the protoype.


Write a program in C language to multiply any two numbers without using in source code?

The question is malformed and incomprehensible.


Is it possible to make a program using for and not with while?

The following cases are all possible:- program without any for and while- program without for- program without while- program with both for and while


What kind of software program can one write?

Any kind that you can figure out how to write.


What is the difference built in functions and user defined functions?

There are two types of functions in C++: Built-in or standard Library Function User defined function BUILT-IN FUNTION Built-in function which are also called Standard Library Functions are the functions provided by the C++ and we do not have to write them. These functions are included in the Header Files They are mostly written at the start of the Program They cannot be changed. EXAMPLE: conio.h; clrscrn; , etc. USER-DEFINED FUNCTION A user-defined function is a function defined by the programmer. It allows the programmer to write their own function. It allows the programmer to divide the program in many parts, which makes it easy for the programmer to rectify or modify the program; as it is easy to locate & jump to any part of the program. A programmer can write groups code to perform a specific task and that group of code is given a name (identifier).


What is the purpose of function in PHP program?

The function keyword in PHP allows users to define functions beyond those built into the language, like so: function isFour ($number) { return $number == 4; }Functions in any language, including PHP, allow the developer to re-use their code. Without functions all of the code required to do the simplest of tasks must be re-written constantly; but with functions you must only write the code once and then call it whenever needed.


Which microprocessor accepts the program written for 8086 without any changes?

Which microprocessor accepts the program written for 8086 without any changes?


What is the difference between Built in Function and User Defined Function?

Built-in functions are functions that are provided for you by the standard includes. User-defined functions are those that you write yourself. Third-party functions are those that are written for you, but that are not provided by the standard includes.