C
1 program
Added 2025-10-22T16:38:50Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit d9739c1594 · authored 2025-10-22T18:38:50+02:00 · model x-ai/grok-4-fast
Sources mentioning this language
9 sources · pl_id:
pl/cWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: imperative (procedural) · structured |
|---|---|
| Typing | static, weak, manifest, nominal |
| Designed by | ANSI X3J11 (ANSI C) · ISO/IEC JTC 1 (Joint Technical Committee 1) / SC 22 (Subcommittee 22) / WG 14 (Working Group 14) (ISO C) · Dennis Ritchie |
| First appeared | 1972 |
| Influenced by | B · BCPL · CPL · ALGOL 68 · PL/I · Fortran |
Extensions claimed by this language
10 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.c | linguist | primary | 209.3M files |
.c | pygments | primary | 209.3M files |
.c | wikidata | primary | 209.3M files |
.h | wikidata | primary | 269.4M files |
.cats | linguist | secondary | 10.9K files |
.h | linguist | secondary | 269.4M files |
.h | pygments | secondary | 269.4M files |
.idc | linguist | secondary | 7.7K files |
.idc | pygments | secondary | 7.7K files |
.h | manual_review:acherm | proposed | 269.4M files |
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
FizzBuzz Program
Provenance: commit d9739c1594 · authored 2025-10-22T18:38:50+02:00 · model x-ai/grok-4-fast · Temp 0.4
#include <stdio.h>
int main() {
int i;
for (i=1; i<=100; i++) {
if (i % 15 == 0)
printf("FizzBuzz\n");
else if (i % 3 == 0)
printf("Fizz\n");
else if (i % 5 == 0)
printf("Buzz\n");
else
printf("%d\n", i);
}
return 0;
}
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.h/2 | .h | default | [] |