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") }
This is not a question.
not possible dude
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
I don't think its possible. Every C++ program must at least have the main function.
#include<
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.
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.
give an example of calculation of mathematics
You're supposed to do your homework yourself. (Mind you, you have to hav at least one function called main.)
Here is an example:#include int main (void){puts ("Hello, world");return 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()
sdfdg