C: modifying const data in an array using pointer -


this question has answer here:

i have const array in global scope this:

const long array_test[5] = {1, 2, 3, 4, 5};

how modify elements of above array @ runtime using pointer?

in no way. can't modify const objects.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -