my question is that...can we change const functions's membrs by const obj?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

my question is that...can we change const functions's membrs by const obj??

13th Sep 2016, 9:10 AM
Bint E Asif
Bint E Asif - avatar
5 Answers
0
yes you are @amna
5th Oct 2016, 4:24 PM
Issah Mudasir
Issah Mudasir - avatar
+ 3
No.
13th Sep 2016, 10:24 AM
Zen
Zen - avatar
+ 2
its mean there is no way of changing in constant function member....the constant object is only used for calling the const function...not for changing in it...Am i right
13th Sep 2016, 10:30 AM
Bint E Asif
Bint E Asif - avatar
+ 2
Constant just means that you can't change the value.
13th Sep 2016, 10:38 AM
Zen
Zen - avatar
+ 1
No const object can be changed.
7th Jan 2017, 11:23 AM
Diego
Diego - avatar