ReePrime
CS301 Lecture No. 19

Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.

CS301 Lecture No. 19

C
Cyberian Star

179 Views • Mar 30, 2014

Description

CS301 Lecture No. 19
By using the references, we are not making the copy. Moreover, with the const keyword, the function cannot change the object. The calling function has read only access to this object. It can use this object in the computation but can not change it. As we have marked it as constant, the function cannot alter it, even by mistake. The language is supportive in averting the mistakes.