С Playground

Want to test some idea, or check how some language construct works? Do it here.

You can also "upload" some files. Files don't actually get uploaded anywhere, they stay in your browser, and are available to your code via fopen as usual.

Uploaded files will appear below the output box; if your code write to a file, it will appear there as well (but don't forget to fclose it).

Note: it's plain C, not C++! std::cout and things like that will not work here.

#include <stdio.h>

int main() {
	printf("Hello World!\n");
	return 0;
}
© Alexander Fenster (contact)