Learn c
Short lessons written around the screening tests employers use. Read one, then take the test.
Pointers, arrays and strings in CHow pointer arithmetic works, why array names act like pointers, and how C strings end with a null character.Lesson 1
Memory, storage classes and printf in CHow malloc and free work, what static and extern change, and how printf format specifiers read their arguments.Lesson 2
Operators, integer rules and precedenceInteger division, i++ versus ++i, = inside if, & versus &&, unsigned wraparound and the precedence facts that output questions rely on.Lesson 3
Structs and passing data to functionsDefine and copy structs, pass them by value or by pointer, understand why arrays decay inside functions, and return heap memory safely.Lesson 4
Advertisement