C Program Without main()
Q. Write a C program Without using main()?
#include <stdio.h>
#define simple main
int simple()
{
printf("Welcome To ProgramTpoint");
return 0;
}
Q. Write an algorithm to C program Without using main()?
Step 1: Start Step 2: Define the main function (in this code, `main` is redefined as `simple`) Step 3: Inside the `simple` function, print the text: "Welcome To ProgramTpoint" Step 4: Return 0 to indicate successful completion of the program Step 5: End
Quickly Find What You Are Looking For
OnlineTpoint is a website that is meant to offer basic knowledge, practice and learning materials. Though all the examples have been tested and verified, we cannot ensure the correctness or completeness of all the information on our website. All contents published on this website are subject to copyright and are owned by OnlineTpoint. By using this website, you agree that you have read and understood our Terms of Use, Cookie Policy and Privacy Policy.
point.com