answersLogoWhite

0

You cannot create a program with the extension .exe without the function main. You can create a dll which does not even use main. WinApi uses another main function but it's still a main function. Main function is entry point for your program, no entry point no program.
Write a progrmme in c with out using a main function. #include #define decode(s,t,u,m,p,e,d)m##s##u##t #define begin decode(a,n,i,m,a,t,e) int begin() { printf("HELLO") }

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


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

not possible dude


Write a program that read phrase and print the number of lower-case letter in it using function of counting?

write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program


How do you write a programm in c plus plus without using function main?

I don't think its possible. Every C++ program must at least have the main function.


Write a c program for matrix addition using function?

#include<


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.


What is the importance of functions in a c plus plus program?

Functions are very important in C++, as you can't write the simplest program to print hello without using a function. Overall you can say that function are building blocks of a C++ program. Functions can also be defined by the programmer to reduce program size.


Write a program to calculate the area of a cylinder using a function?

give an example of calculation of mathematics


Write a Program in c language to find the LCM without using functions?

You're supposed to do your homework yourself. (Mind you, you have to hav at least one function called main.)


How can a person write a program without using printf function in C language?

Here is an example:#include int main (void){puts ("Hello, world");return 0;}


Write a program in C without any functions?

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()


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg