7
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 19 Jan 2026
7 points (100.0% liked)
C Programming Language
1343 readers
3 users here now
Welcome to the C community!
C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.
- irc: #c
🌐 https://en.cppreference.com/w/c
founded 3 years ago
MODERATORS
thanks for the reply. my goal is in fact to take what is at address 0xf0 and store it at 0x400. I know it resembles another beginner error but it's not this time :)
the example code I've given looks pretty contrived but I'll be using this to write startup code for a microcontroller, and the values starting at src are initial values in flash I need to copy over to dest which is SRAM.
in your second example the right most * casts src to a pointer, saying, the value 0xf0 is a memory address, the second * then attempts to get the value stored at that address.