Skip to content · ⁨Lompat ke konten⁩

← Learn to Code — Python, Java, C, SQL & Web · ⁨Belajar Memrogram — Python, Java, C, SQL & Web⁩

C Programming · ⁨Pemrograman C⁩

From printf to pointers, memory, and data structures — compile and run in your browser. · ⁨Dari printf hingga pointer, memori, dan struktur data — kompilasi dan jalankan di browser Anda.⁩

c 23 Lessons · ⁨Pelajaran⁩

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English. · ⁨Setiap pelajaran berjalan di browser Anda — tulis kode nyata, tekan Jalankan, dan tugas memeriksa dirinya sendiri. Gratis, tidak perlu akun, dengan catatan terjemahan yang dipasangkan dengan bahasa Inggris.⁩

Start the course · ⁨Mulai kursus⁩

Lessons in this course · ⁨Pelajaran dalam kursus ini⁩

  1. history A short history of C · ⁨Sejarah singkat C⁩ Reading and resources
  2. usage What C is used for · ⁨Apa C digunakan untuk⁩ Reading and resources
  3. resources Where to learn more · ⁨Di mana untuk belajar lebih lanjut⁩ Reading and resources
  4. setup Set up your computer · ⁨Siapkan komputer Anda⁩ Reading and resources
  5. 01 C basics: main, printf, and functions · ⁨Dasar C: main, printf, dan fungsi⁩ 3 required tasks Video
  6. 02 Variables, types, and arithmetic · ⁨Variabel, tipe, dan aritmatika⁩ 3 required tasks Video
  7. 03 Booleans and selection: if, else, switch · ⁨Boolean dan seleksi: if, else, switch⁩ 3 required tasks Video
  8. 04 Loops: while, for, and accumulation · ⁨Perulangan: while, for, dan akumulasi⁩ 3 required tasks Video
  9. 05 Functions, parameters, and return values · ⁨Fungsi, parameter, dan nilai pengembalian⁩ 3 required tasks Video
  10. 06 Nested loops and patterns · ⁨Perulangan bersarang dan pola⁩ 3 required tasks Video
  11. 07 1-D arrays: store, index, and traverse · ⁨Array 1-D: simpan, indeks, dan jelajahi⁩ 3 required tasks Video
  12. 08 Pointers: &, *, and pass-by-pointer · ⁨Pointer: &, *, dan pass-by-pointer⁩ 3 required tasks Video
  13. 09 Strings: char arrays and the null terminator · ⁨String: array char dan terminator null⁩ 3 required tasks Video
  14. 10 Array algorithms: max, count, search, average · ⁨Algoritma array: maksimum, hitung, cari, rata-rata⁩ 4 required tasks Video
  15. 11 2-D arrays: working with a grid · ⁨Array 2-D: bekerja dengan grid⁩ 3 required tasks Video
  16. 12 Searching: linear and binary · ⁨Pencarian: linear dan biner⁩ 3 required tasks Video
  17. 13 Sorting: bubble, selection, and insertion · ⁨Pengurutan: gelembung (*bubble*), seleksi, dan sisip⁩ 3 required tasks Video
  18. 14 Recursion: base case and recursive case · ⁨Resursif: kasus dasar dan kasus rekursif⁩ 3 required tasks Video
  19. 15 Structs and typedef: . vs -> 3 required tasks Video
  20. 16 Dynamic memory: malloc, free, and realloc · ⁨Memori dinamis: malloc, free, dan realloc⁩ 3 required tasks Video
  21. 17 Linked lists · ⁨Daftar terhubung (Linked lists)⁩ 3 required tasks Video
  22. 18 Stacks and queues (array-backed) · ⁨Tumpukan dan antrean (berbasis array)⁩ 3 required tasks Video
  23. 19 Text files: write then read · ⁨File teks: tulis lalu baca⁩ 2 required tasks Video
  24. 20 Error handling with return codes · ⁨Penanganan kesalahan dengan kode pengembalian⁩ 3 required tasks Video
  25. 21 Bits, binary, and bitwise operators · ⁨Bit, biner, dan operator bitwise⁩ 3 required tasks Video
  26. 22 Run-length encoding (compression) · ⁨Pengkodean panjang-lari (kompresi)⁩ 2 required tasks Video
  27. 23 Preprocessor, const, static, and enum · ⁨Preprocessor, const, static, dan enum⁩ 3 required tasks Video

Language reference · ⁨Referensi Bahasa⁩

/know/reference/c

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP