Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learn C/C++ programming
·
Module 4
Advanced C Topics and File I/O
1
Preprocessor Directives: Constants and Conditional Compilation
Use preprocessor directives for constants (#define) and conditional compilation (#ifdef, #if)
2
Macros vs. Inline Functions: A Risk Assessment
Explain the risks of parameterized macros and when to prefer inline functions
3
Bitwise Operations
Perform bitwise AND, OR, XOR, NOT, and shift operations
4
Bitmasking: Manipulating Individual Bits
Apply bit manipulation to set, clear, and test individual bits in a variable (bitmasking)
5
C File I/O: Reading and Writing Text Files
Read from and write to text files using C file I/O functions (fopen, fprintf, fscanf, fclose)
6
Reading and Writing Binary Files with `fread()` and `fwrite()`
Read and write binary data structures to files using fread() and fwrite()
Previous module
C Data Structures and Program Organization
Next module
Moving to C++: The Core Improvements