Into the source program.
I don't think its possible. Every C++ program must at least have the main function.
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()
A main function must be present in every C program.
if you do not used main function in c program when errors are accrued
int main() { // Call the printf function printf("This is a function call!\n"); return 0; }
Every C plus plus program that is a main program must have the function 'main'.
Every C program has a main() function.
Certainly, you can write a program without main, but you cannot build an executable from it, if that is okay with you.
That's up to you, but the execution of the program begins with function main.
Because if you donot use main function in c program, the compiler willnot execute the program.C compiler starts execution from main function itself.
#include<
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") }