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
179 Views • Mar 30, 2014
Description
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.
More from User
After Banning of his Film “Phantom” in Pakistan Saif Ali Khan Reaction
Cyberian Star
How to Install and Crack IDM
Cyberian Star
How to install and use Teamviewer
Cyberian Star
Go Nawaz Go Challenge Sweet Gril
Cyberian Star
Bisti Jai nai hogai, Funny Video
Cyberian Star
Bechaara Husband... Funyy Video
Cyberian Star
Related Videos
AVL Tree Rotation Types Explained for Self-Balancing Binary Search Trees
Neural Lantern
Binary Search Tree and AVL Tree
takdirstis
AVL Tree Tutorial: Balance Factors and Why They Fix Slow BSTs
Neural Lantern
How to Search in a Binary Search Tree (BST) - Step by Step Explanation with Examples
Neural Lantern
Binary Search Tree Insertion Tutorial: Building a BST from Scratch Step by Step
Neural Lantern
27. Introducing The Const Keyword
koudeblikjecola