4 ms·
Doesn’t it stop you modifying them inside the function?
by Google234 6y ago
Doesn’t it stop you modifying them inside the function?
- account42 6y agoI'm not sure about C but at least in C++ having const on the prototype is meaningless as you can still have the arguments as non-const in the actual definition. Considering that C is usally less strict with these things I'd expect that to be the case there too.