Saturday, 29 December 2018

What are the differences between a pointer variable and a reference variable in C++?

I know references are syntactic sugar, so code is easier to read and write.




But what are the differences?

No comments:

Post a Comment