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 | 157.9M files |
.c | pygments | primary | 157.9M files |
.c | wikidata | primary | 157.9M files |
.h | wikidata | primary | 215.7M files |
.cats | linguist | secondary | 10.3K files |
.h | linguist | secondary | 215.7M files |
.h | pygments | secondary | 215.7M files |
.idc | linguist | secondary | 7.0K files |
.idc | pygments | secondary | 7.0K files |
.h | manual_review:acherm | proposed | 215.7M files |
LLM-contributed programs
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;
}
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.)
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 | [] |