main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <stdlib.h>
int cmp(const void *a, const void *b) {
return *(int*)a - *(int*)b;
}
int main(void) {
int scores[] = {42, 7, 19, 88};
qsort(scores, 4, sizeof scores[0], cmp);qsort
printf("%d\n", scores[0]);
return 0;
}
stdout
7
compiled in browser
ready offline
Free In-Browser
C IDE
Offline Use Capable coding practice for students learning C, algorithms, and contest problem solving.
No install
Student friendly
Runs locally
Start Coding
Practice Anywhere
Open the page, write C, compile, and run from the browser.
Offline Use Capable
Keep working after the IDE assets have loaded on your device.
Built For Learning
Simple input, output, and generated WAT views make experiments visible.