Look at the code snippet below: const float * ch = &c ; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Look at the code snippet below: const float * ch = &c ;

Which of the following statement is true for the variable 'ch' ? a) const-Pointer to non-const-Pointee b)non-const-Pointer to const-Pointee c)const-Pointer to const-Pointee d) non-const-Pointer to non-const-Pointee

10th Aug 2017, 4:21 PM
PULKIT BHARDWAJ
1 Answer
0
ch is a const pointer. i think that is it. you do not know at what it is pointing, it is just pointing at some place in memory
10th Aug 2017, 5:07 PM
Paul