- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AI / Machine Learningโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- ควิซใหม่
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
ควิซ C
ควิซ C 30 ชุด รวม 300 ข้อแบบปรนัย ตั้งแต่ง่ายถึงยาก ทุกคำตอบมีคำอธิบาย
30 ควิซ · 300 ข้อ
6 หมวด
C17
หมวดของ C
4 ง่าย1 ปานกลาง
Data Types & sizeof
printf & scanf
Operators & Integer Division
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย3 ปานกลาง1 ยาก
Functions & Prototypes
Pass by Value & Pointers
Recursion
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย3 ปานกลาง1 ยาก
Arrays
Strings & the Null Terminator
string.h Functions
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย2 ปานกลาง2 ยาก
Pointer Basics
Pointer Arithmetic
Pointers & Arrays
+2
ผ่าน 0 จาก 5
เริ่ม
1 ง่าย3 ปานกลาง1 ยาก
malloc, calloc & free
Memory Bugs
Structs & typedef
+2
ผ่าน 0 จาก 5
เริ่ม
2 ปานกลาง3 ยาก
Output-Based C Questions
Tricky C Questions
Preprocessor & Macros
+2
ผ่าน 0 จาก 5
เริ่ม
ควิซที่ตรงกัน
1
Data Types & sizeof
ง่าย
Check what you know about C's basic types, their sizes and what sizeof really measures.
C · C Basics
#types#sizeof
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
printf & scanf
ง่าย
Format output with printf and read input safely with scanf.
C · C Basics
#io#formatting
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
3
Operators & Integer Division
ง่าย
Predict arithmetic results in C, from integer division and % to ++ and precedence.
C · C Basics
#operators#integer-division
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
4
Type Casting & Integer Promotion
ปานกลาง
See how C converts between types, from explicit casts to the hidden promotions in every expression.
C · C Basics
#casting#gotchas
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
if, switch & Loops
ง่าย
Trace if, switch, for, while and do-while in C, including switch fall-through.
C · C Basics
#loops#conditions#switch
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
1
Functions & Prototypes
ง่าย
Define, declare and call C functions, and know why prototypes matter.
C · Functions & Scope
#functions#prototypes
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
Pass by Value & Pointers
ปานกลาง
Understand why C functions get copies, and how pointers let them change the caller's variables.
C · Functions & Scope
#functions#pointers
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Recursion
ปานกลาง
Trace recursive C functions, from factorial and Fibonacci to the order of work around the call.
C · Functions & Scope
#recursion#functions
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
static & Storage Classes
ยาก
Master static locals, internal linkage, extern and register, the C storage classes interviewers love.
C · Functions & Scope
#storage-classes#static
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
Scope & Lifetime
ปานกลาง
Know where each C variable can be used and how long it lives, from blocks to globals.
C · Functions & Scope
#scope#lifetime
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
Arrays
ง่าย
Declare, initialize, loop over and pass C arrays without surprises.
C · Arrays & Strings
#arrays#basics
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
Strings & the Null Terminator
ปานกลาง
See how C stores text as char arrays ending in
'\0', and what that means for size and printing.
C · Arrays & Strings
#strings#null-terminator
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
string.h Functions
ปานกลาง
Use
strlen, strcpy, strcat, strcmp, strchr and friends correctly, and know their traps.
C · Arrays & Strings
#strings#string-h
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
2D Arrays
ปานกลาง
Index, initialize, size and pass two-dimensional arrays in C.
C · Arrays & Strings
#arrays#2d-arrays
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
Buffer Overflows & Bounds
ยาก
Spot out-of-bounds reads and writes in C, and the habits and tools that prevent them.
C · Arrays & Strings
#security#arrays
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
1
Pointer Basics
ง่าย
Take addresses with
&, follow them with * and change variables through pointers.
C · Pointers
#pointers#basics
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
2
Pointer Arithmetic
ปานกลาง
Move pointers through arrays with
+, -, ++ and subtraction, and read *p++ correctly.
C · Pointers
#pointers#pointer-arithmetic
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
3
Pointers & Arrays
ปานกลาง
See how array names turn into pointers, where they do not, and why
a[i] equals *(a + i).
C · Pointers
#pointers#arrays
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
Pointer to Pointer
ยาก
Use
int ** to change a caller's pointer, build dynamic tables and walk arrays of strings.
C · Pointers
#pointers#double-pointers
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
Function Pointers
ยาก
Store functions in variables and arrays, pass them as callbacks and read their declarations.
C · Pointers
#pointers#functions
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
1
malloc, calloc & free
ปานกลาง
Allocate, resize and release heap memory in C without losing track of it.
C · Memory & Structs
#memory#heap
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
Memory Bugs
ยาก
Spot leaks, double frees, use after free and other heap bugs in short C programs.
C · Memory & Structs
#memory#debugging
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
3
Structs & typedef
ง่าย
Group related data with structs, initialise them and give them short names with typedef.
C · Memory & Structs
#structs#typedef
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
4
Unions & Enums
ปานกลาง
Name your constants with enums and share storage between members with unions.
C · Memory & Structs
#unions#enums
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
Bitwise Operators
ปานกลาง
Set, clear, toggle and test bits with &, |, ^, ~ and the shift operators.
C · Memory & Structs
#bitwise#output-prediction
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
1
Output-Based C Questions
ปานกลาง
Predict what short C programs print, the classic interview warm-up.
C · C Interview Questions
#output-prediction#interview
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
2
Tricky C Questions
ยาก
Real C gotchas from interviews, where the obvious answer is wrong.
C · C Interview Questions
#gotchas#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
3
Preprocessor & Macros
ปานกลาง
Predict macro expansions and avoid the classic
C · C Interview Questions
#macros#preprocessor
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
4
Undefined Behavior
ยาก
Recognise undefined behaviour in C and understand why the compiler may do anything.
C · C Interview Questions
#undefined-behavior#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
5
C: Find the Bug
ยาก
Read short C programs with a real bug, predict what they do and name the fix.
C · C Interview Questions
#debugging#interview
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
ไม่พบควิซที่ตรงกัน ลองคำหรือแท็กอื่นดู
ยอดนิยมสัปดาห์นี้
- 1 Type Casting & Integer Promotion ปานกลางC Basics#casting#gotchas
- 2 Pass by Value & Pointers ปานกลางFunctions & Scope#functions#pointers
- 3 Recursion ปานกลางFunctions & Scope#recursion#functions
- 4 Scope & Lifetime ปานกลางFunctions & Scope#scope#lifetime
- 5 Strings & the Null Terminator ปานกลางArrays & Strings#strings#null-terminator