Code samples

Add code blocks for common snippets. Type /code and press enter. Choose the language you're using from the dropdown at the bottom right corner. Hover to copy with one click.

#include <stdio.h>
int main() {
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}