const variable passed as non const reference In C++ #cppprogramming #interview #computerscience

preview_player
Показать описание
JOIN ME
—————

COMPLETE PLAYLIST
————————————
C++ Tutorial For Beginners :
STL (Standard Template Library) :

INTERVIEW PLAYLIST
————————————

QUICK SHORT VIDEOS
————————————-

passing const variable to a non const reference is not allowed in C++ programming language because it breaks the low that we can modify the const variable in called function.

#cppprogramming #interview #softwareengineer
Комментарии
Автор

👌👌great video but sir please take good care of your health also.. thank you..

nil
Автор

Good explanation waiting for more videos

MDIMRAN-zycb
Автор

Great video, Please take care of your health. Thank you

anilkumarv
Автор

Why only function definition have &..
As i know in C, We pass &in function call and recieve * in function definition..isn't this the case in cpp?
Pls let me know..

sairatna
Автор

Why can i pass a const value as a non-const paramet to DoSomething function?

mayankchouhan