C playground
#include <stdio.h> void greet(const char* name) { printf("Hello, %s!\n", name); } int main() { greet("World"); }
C is a general-purpose computer programming language. It was created in the 1970s, and remains very widely used and influential. It has found lasting use in operating systems, device drivers, and protocol stacks.
⛫ homepage • αω tutorial • ⚘ community
Sandbox details
C version: 17
sandbox engine: codapi
sandbox name: gcc
allowed commands: run
in-browser: ✘
Usage example:
```c
#include <stdio.h>
int main() {
printf("Hello, World!\n");
}
```
<codapi-snippet sandbox="gcc" editor="basic">
</codapi-snippet>