#22 Default parameter in C++ | C++ Tutorial for Beginners (Hindi)

preview_player
Показать описание
In C++, we can provide default values for function parameters.
In this case, when we invoke the function, we don’t specify parameters.
Instead, the function takes the default parameters that are provided in the prototype.
Note that while providing default parameters, we always start from the right-most parameter. Also, we cannot skip a parameter in between and provide a default value for the next parameter.

Connect with me on :

#codekadose #cpp #cplusplus #defaultparameters

------------ IGNORE ------------------
default parameters in c++
default argument in c
c++ default parameters header
constant arguments in c++
default argument in c++ in hindi
constructor with default arguments in c++
advantages of default arguments in c++
Рекомендации по теме
Комментарии
Автор

Wow what an explanation.
Sir is a best concept clearer..😊

karanxyzx
Автор

sir C language ke bad C++ karna chahiye ya DSA karana chahiye

sureshmudhe
Автор

Sir are these lectures for class 12 or general c++ tutorials?

samyak
Автор

sir IT lectures for class 12 batch 2023

aniketlasulkar