r/cprogramming • u/Cistrum • Jun 23 '26
Are These C Concepts Enough to Start Learning Embedded Programming?
Hi everyone.
I recently wanted to get into embedded programming.
I have basic C programming knowledge and after researching about it i have made a list of concepts I must learn thoroughly.
I also used chatgpt to get these concepts so idk if it's enough or if everything in there is accurate and essential.
core c :
data types,
integer promotion and type conversions,
operators and precedence,
control flow,
functions,
storage classes,
scope and lifetime
memory and pointers :
memory model,
stack vs heap,
arrays,
strings,
pointers,
pointer arithmetic,
void pointers,
function pointers,
dynamic memory allocation (malloc, calloc, realloc, free)
user-defined types :
structures,
nested structures,
unions,
bit fields,
enums,
typedef
qualifiers :
const,
static,
volatile,
restrict
bit manipulation :
bitwise operations,
memory alignment,
padding,
endianness
preprocessor and project organization :
header files,
preprocessor,
macros,
conditional compilation,
inline functions,
separate compilation,
linking
low-level programming :
memory-mapped i/o,
register manipulation,
interrupt basics
language behavior :
undefined behavior,
implementation-defined behavior.
I would like to know if I am missing anything or is this enough and would appreciate it if u shared any tips to learn these topics.
Btw I am currently using a book called C programming: A modern approach , to learn these topics and the list I have provided above is based on the topics of this book
11
u/Asleep-Mall-6940 Jun 23 '26
Yes but make sure to read the spec sheet of the processor you're going to code for
4
u/brinza888 Jun 23 '26
Just read K&R for basics
7
u/v_maria Jun 23 '26
you should be good. its not a linear process. you will get back to these topics as you go
1
u/TheChief275 Jun 23 '26
Lmao have fun with dynamic memory allocation in embedded. Please learn about custom allocators too.
Also, wtf is up with GPT'ing a list of concepts? What happened to good old trial and error? There is no better way to learn than just programming and fucking up
3
u/pjl1967 Jun 23 '26
You've pretty much described all of C. FYI,
restrictis rarely required.0
u/timonix Jun 23 '26
C is a simple language. The entire language fits on a cheat sheet. There is nothing hidden.