Comment Comment by tredre3 > In Rust we'd use `const` for this but in C you need to use the C pre-processor language instead to make constants, which is kinda wild.I get that you're not very familiar with C? Because in C we'd use const as well. const int x = 2; x = 3; // error: assignment of read-only variable 'x' parent tredre3 1 year ago
I get that you're not very familiar with C? Because in C we'd use const as well.