Skip to content · ⁨Bỏ qua nội dung⁩

← Learn to Code — Python, Java, C, SQL & Web · ⁨Học lập trình — Python, Java, C, SQL & Web⁩

C Programming · ⁨Lập trình C⁩

From printf to pointers, memory, and data structures — compile and run in your browser. · ⁨Từ printf đến con trỏ, bộ nhớ và cấu trúc dữ liệu — biên dịch và chạy ngay trên trình duyệt của bạn.⁩

c 23 Lessons · ⁨Bài học⁩

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. · ⁨Mỗi bài học chạy trên trình duyệt của bạn — viết mã thật, nhấn Chạy, và các nhiệm vụ tự kiểm tra. Miễn phí, không cần tài khoản, kèm ghi chú dịch song ngữ với tiếng Anh.⁩

Start the course · ⁨Bắt đầu khóa học⁩

Lessons in this course · ⁨Các bài học trong khóa học này⁩

  1. history A short history of C · ⁨Lịch sử ngắn gọn về C⁩ Reading and resources
  2. usage What C is used for · ⁨C được sử dụng cho việc gì⁩ Reading and resources
  3. resources Where to learn more · ⁨Nơi tìm hiểu thêm⁩ Reading and resources
  4. setup Set up your computer · ⁨Cài đặt máy tính của bạn⁩ Reading and resources
  5. 01 C basics: main, printf, and functions · ⁨C cơ bản: main, printf, và hàm⁩ 3 required tasks Video
  6. 02 Variables, types, and arithmetic · ⁨Biến, kiểu dữ liệu và toán học⁩ 3 required tasks Video
  7. 03 Booleans and selection: if, else, switch · ⁨Boolean và điều kiện chọn: if, else, switch⁩ 3 required tasks Video
  8. 04 Loops: while, for, and accumulation · ⁨Vòng lặp: while, for, và tích lũy⁩ 3 required tasks Video
  9. 05 Functions, parameters, and return values · ⁨Hàm, tham số và giá trị trả về⁩ 3 required tasks Video
  10. 06 Nested loops and patterns · ⁨Vòng lặp lồng nhau và mẫu hình⁩ 3 required tasks Video
  11. 07 1-D arrays: store, index, and traverse · ⁨Mảng 1-D: lưu trữ, truy cập theo chỉ mục và duyệt qua⁩ 3 required tasks Video
  12. 08 Pointers: &, *, and pass-by-pointer · ⁨Con trỏ: &, *, và truyền qua con trỏ⁩ 3 required tasks Video
  13. 09 Strings: char arrays and the null terminator · ⁨Chuỗi ký tự: mảng char và ký tự kết thúc null⁩ 3 required tasks Video
  14. 10 Array algorithms: max, count, search, average 4 required tasks Video
  15. 11 2-D arrays: working with a grid · ⁨Mảng 2-D: thao tác với lưới ô vuông⁩ 3 required tasks Video
  16. 12 Searching: linear and binary 3 required tasks Video
  17. 13 Sorting: bubble, selection, and insertion · ⁨Sắp xếp: bubble, selection, và insertion⁩ 3 required tasks Video
  18. 14 Recursion: base case and recursive case 3 required tasks Video
  19. 15 Structs and typedef: . vs -> 3 required tasks Video
  20. 16 Dynamic memory: malloc, free, and realloc · ⁨Dung lượng động: malloc, free, và realloc⁩ 3 required tasks Video
  21. 17 Linked lists 3 required tasks Video
  22. 18 Stacks and queues (array-backed) · ⁨Ngăn xếp và hàng đợi (dựa trên mảng)⁩ 3 required tasks Video
  23. 19 Text files: write then read · ⁨Tệp văn bản: ghi rồi đọc⁩ 2 required tasks Video
  24. 20 Error handling with return codes · ⁨Xử lý lỗi với mã trả về⁩ 3 required tasks Video
  25. 21 Bits, binary, and bitwise operators · ⁨Bits, nhị phân và toán tử bit⁩ 3 required tasks Video
  26. 22 Run-length encoding (compression) · ⁨Mã hóa độ dài chuỗi (nén)⁩ 2 required tasks Video
  27. 23 Preprocessor, const, static, and enum · ⁨Tiền xử lý, const, static và enum⁩ 3 required tasks Video

Language reference · ⁨Tham khảo ngôn ngữ⁩

/know/reference/c

Log in or create account · ⁨Đăng nhập hoặc tạo tài khoản⁩

IGCSE, A-Level & AP