Page 1 of 1

Comment on the following C statement. const int *ptr;

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) You cannot change the value pointed by ptr
b) You cannot change the pointer ptr itself
c) You May or may not change the value pointed by ptr
d) You can change the pointer as well as the value pointed by it