C playground

#include <stdio.h>

void greet(const char* name) {
    printf("Hello, %s!\n", name);

int main() {

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:

#include <stdio.h>

int main() {
    printf("Hello, World!\n");

<codapi-snippet sandbox="gcc" editor="basic">