omni compilerGet the app

C · Android 7.0+ · free

A C compiler app for Android

Write C on your phone for a course, a lab assignment or a contest, compile it, and run it against your own input or a set of test cases. omni compiler shows compile errors with the line to tap, grades each test with a verdict, and keeps your .c files in a folder on your device.

C on a phone, done properly

  • Compile errors on the line

    Warnings and errors from the compiler are listed with line numbers; tap one to jump to it.

  • scanf and stdin

    Programs that read with scanf or getchar take input from the stdin box, or from each test case's input when you run tests.

  • Verdicts per test

    Add up to 100 tests with expected output and get AC, WA, TLE, MLE, RE, CE for each, with your output beside the expected one on a Wrong Answer.

  • Files from anywhere

    Open a .c file from your file manager and edit it in place, or turn it into a project to run it. Import assignments from a GitHub or GitLab repository.

Try it with a test case

Paste this into main.c, add a test case with the input below, and run. Prints 15.

#include <stdio.h>

int main(void) {
    int n, x; long long sum = 0;
    scanf("%d", &n);
    for (int i = 0; i < n; i++) { scanf("%d", &x); sum += x; }
    printf("%lld\n", sum);
    return 0;
}
Test input
3 4 5 6

Questions

Can I learn C programming on my phone with this app?

Yes. The editor, compiler and judge are the same ones students use for assignments; the built-in practice problems give you something to solve, and each wrong answer shows exactly which test failed.

Does it support C99 and C11?

The C runtimes are standard compilers with modern C standards. The runtime version is chosen per run.

Is the C compiler free?

Yes. omni compiler is free to download and use, with ads, and you can start as a guest without an account.

Can I run C offline on my phone?

You can write and edit offline: projects are stored on your phone. Running needs a connection because the code executes in an isolated sandbox on our servers; runs you start offline are queued and sent when you reconnect.

Which Android versions does the C compiler support?

Android 7.0 and newer, on phones and tablets. Tablets get a split view to edit two files side by side.

Other languages

65 languages in all; see every language page.

Start coding on your phone.

Download omni compiler and run your first program in seconds.