encyclopegia.org

main function

function in C or C++, which is the entry point to execution, which can take either no arguments, two arguments (conventionally named argc and argv), or three arguments (whose third argument is conventionally named env)

References

No reference rows published for this article.

Cite this article

MLA

"main function." encyclopegia.org, 2026, https://encyclopegia.org/wiki/main-function. Accessed 23 November 2026.

Chicago

"main function." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/main-function.

APA

encyclopegia.org. (2026). main function. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/main-function

Accessed November 23, 2026 · CC0-1.0 · citation page · JSON

Claims

PredicateValueSource
P646/m/03trl7Wikidata
P3417Main-Function-1Wikidata
P279Q2005914Wikidata
P279Q15810910Wikidata
CC0-1.0 · tier1-factual · http://www.wikidata.org/entity/Q871950 · 0.55 · snapshot main-function-100306-bf7ac08a92263224 · QID Q871950

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.