For parameters, & is pass-by-reference. Two reasons to use it: so you can modify the argument or for efficiency so you don't have to copy an entire (trigger it's copy constructor).
@Byynx It was such a privilege to meet you today! Please email me if you like. I feel bad I was so excited to meet you I forgot to ask your name! the.professor.hank@gmail.com
@@ProfessorHankStalicaThanks, it was a privilege for me too. My name is Filipe. Filipe in portuguese it's pronounced practicaly like Philip in english.
Most detailed lectures on yt, thanks a lot ❤.
You're welcome. Glad you found it useful!
Sir keep It up youre videos are Amazing
Thanks for the kind words! Will do!
So the caller can be treated as an l value reference and therefore can be treated as an identifier?
It helps a lot, thank you so much.
Glad you found it helpful and thanks for the comment and support.
good tricks
Glad you liked it!
One More greater feature of C++ that make him closer to mathematics symbolism. Thanks.
in the function bar why did you use &a not a as a parameter
For parameters, & is pass-by-reference. Two reasons to use it: so you can modify the argument or for efficiency so you don't have to copy an entire (trigger it's copy constructor).
very intuitive thank you
Glad it was helpful!
Fantastic explanation. Many thanks for this.
Glad it was helpful! Thanks for the support and feel free to tip your teacher!
Really fun mindblowing stuff !!
Glad you enjoyed it and thanks for the sub!
Thanks ❤
this blows my mind right now! :D
This background picture is of my city Porto. Why have you put it?
Because I ❤ Porto!
@Byynx It was such a privilege to meet you today! Please email me if you like. I feel bad I was so excited to meet you I forgot to ask your name!
the.professor.hank@gmail.com
@@ProfessorHankStalicaThanks, it was a privilege for me too. My name is Filipe. Filipe in portuguese it's pronounced practicaly like Philip in english.
That was so cool
I'm sorry, but why the hell do I need it?
When overloading the [ ] operator. As a standalone function though, probably never. Still something cool to do though.