const my_str test = {1,2,3}; puts the initialized struct in ROM, making fixed data
near my_str test = {1,2,3}; puts the initialized struct in ACCESS RAM, initializing it at startup.
my_str test = {1,2,3}; puts struct in general purpose RAM and initializes it
my_str test; allocates space in GP RAM and initializes it to all 0.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
T | declaring string | Programming & Languages | 5 | |
A | declaring two or moer arguments in macros (C) | General Electronics Chat | 6 | |
V | Declaring a non-continuous bus in verilog? | Programming & Languages | 0 | |
S | declaring variables pic 16f84a | Homework Help | 6 | |
B | Newbie question, Declaring variable in c | Programming & Languages | 6 |