answersLogoWhite

0

Is main a keyword

Updated: 8/9/2023
User Avatar

Wiki User

11y ago

Best Answer

No. Main is not a keyword in C or C++. However, your program, when linked, must provide one and only one externally scoped entry point to main(). If you use main in some other context, and you do not provide one and only one entry point main(), then your program will not link nor run.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

main is not a keyword, so it has to be an identifier (it usually is the name of a function in your program).

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

No "Main" is not a keyword, its a function that returns value....

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

No. Examples for keywords: if, else, break, int, auto, typedef.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

no it is the well known function in 'c' ,however it is called as function itself under the circumstances,where it callls the function

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is main a keyword
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering
Related questions

Is 'main' a keyword in c language?

No.No.


The five major regions of the US are?

Actually the keyword here is MAIN.


What is the main purpose of a keyword tool?

The main purpose of a keyword tool is to help simplify the searching process, make suggested or related terms and show most common related items that others have used.


What would be the main purpose of using a PPC keyword tool?

Google Keyword planner is the best keyword tool for PPC. Google Keyword Planner is a free tool that allows you to uncover potential keywords for your campaign. This is one of the most reliable tools for PPC keyword research and analysis. Google is the best search engine across the globe.


When a term is searched is the search done solely on the main domain or on the sub domain?

The search is based on the "keyword' being searched for. The only connection with a domain would be if the domain offers information on that keyword, (search term). Or, if the domain name is the same that keyword.


What are the two main ways in which search engines find information?

find a term or a keyword in relative information


Why isn't main a keyword in c?

Neither is printf, stderr or NULL. Certainly, they are important words, but not keywords.


What is the main reason for the effectiveness of optimizing a webpage towards a long tail keyword search?

Lun phuddi


Is global variables are declared within the main function?

Might be, but don't forget the keyword 'extern':int main (void){extern int errno;...}


What is token in C programming?

They're things that keep the variables in line with the void main and your functions


What is library keyword?

What is library keyword?


What is the keyword for ruby redfort catch your death?

The keyword is Marie Antoinette