Questions tagged [qualifiers]

A qualifier adds an extra "quality", such as specifying volatility or constness of a variable

They're similar to adjectives: "a fickle man", "a volatile int", "an incorruptible lady", "a const double". With or without a qualifier, the variable itself still occupies the same amount of memory, and each bit has the same interpretation or contribution to the state/value. Qualifiers just specify something about how it may be accessed or where it is stored

Credits goes to Tony_D @ What is the meaning of "qualifier"?

211 questions
-4
votes
2 answers

C: modifying const data in an array using pointer

I have an const array in global scope like this: const long array_test[5] = {1, 2, 3, 4, 5}; How do I modify the elements of the above array at runtime using a pointer?
gautham
  • 55
  • 1
  • 5
1 2 3
14
15