What is the meaning of the below declarations?
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Answer:
- The “a” is a constant integer.
- Similar to first, “a” is a constant integer.
- Here “a” is a pointer to a const integer, the value of the integer is not modifiable, but the pointer is modifiable.
- Here “a” is a const pointer to an integer, the value of the pointed integer is modifiable, but the pointer is not modifiable.
- Here “a” is a const pointer to a const integer that means the value of the pointed integer and pointer both are not modifiable.
need an explanation for this answer? contact us directly to get an explanation for this answer