Thread: c++ basics
View Single Post
  #1 (permalink)  
Old June 21st, 2016, 12:29 PM
Varun95 Varun95 is offline
Registered User
 
Join Date: Jun 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question c++ basics

I am new to C++. I don't understand the difference between passing string to a function as a const reference and without the use of const reference.

And also the use of const and reference operator together. Please help

And this is my first post in any forum so excuse me if I made any mistakes.

Last edited by Varun95; June 21st, 2016 at 12:36 PM..
Reply With Quote