Default Class Constructor Parameters | C++ OOPS Video Tutorial

preview_player
Показать описание
In this c++ OOPS video tutorial, you will learn about how to pass default values to constructor parameters.

You will learn how to provide default values to constructor parameters, what happens when we do that in detail with example.

Learn Programming in HINDI at our youtube channel

Catch us on SocialMedia
Рекомендации по теме
Комментарии
Автор

these videos are still relevant even after 10 years! Quality content served with brevity :D

sanjanaaa
Автор

Ur 5 minutes vid is more direct and clear than my professor spending 1 hour explaining

BeatLabStudio
Автор

I am a Pakistani and I am learning OOP from you. Thank you very much. From Pakistan with love.

broneedmoola
Автор

Your tutorials are extremely awesome. Short and clear. It may be extremely useful if you can add a couple of videos to the end of this series to update this series to the latest version.

nilupulperera
Автор

idk why people saying the voice recording is not good, it's fine. And tutorials as always very informative.

nrted
Автор

Sir I'm really thankful to you... Your videos is just awesome...
And sir please build some big projects...

taymurahmed
Автор

These videos are very helpful and easy to understand. Thank You!

ravishasharma
Автор

Thank you this has been a great help...

vincentshamase
Автор

your videos are a great help sir.thank u for the uploads

anandabhishek
Автор

this series helps me a lot. thank you, sir. Please make series in c++ STL?

ShubhamSingh-retr
Автор

Great video thanks for your help 🤠🤠🤠🤠🤠🤠

colinyouth
Автор

If I have a default constructor and a constructor with 2 par by default? What will a constructor be executing?

Sergey-mqol
Автор

ad at the end is annoying & blocks the screen

thrishulh
Автор

Can anyone explain why we have private block in our class since we are using public after to get private variables. Does it change anything? let s make all things public. what is the use of private here???

dursunbekci
Автор

sir u said we can create objects in two ways
1.(Human obj1; ) or 2. (Human *obj2=new Human();) but in second one we know that new operator returns address of heap, so we cannot assign *obj2 with address, , we can only assgn obj2=any address..(no * has to be used)....
ex: int *p, x=10;
p=&x but not *p=&x;

saiprakashveeram
Автор

My only issue is the formatting. But thanks for the video.

pankudev
Автор

you're writing s in caps while writing string in c++ beacause you generally code in Java XD

maazahmad
Автор

if we have 2 overloaded constructors such as
Human(string iname, int iage = 0)
Human(String iname)
and pass => Human anil("anil");
Which constructor will be executed?

BHS
Автор

if we have two constructors like,
Human(int age=0) and Human()
then which will be called? Will it give error?

virendrasinghbais
Автор

Hi sir can you tell me how to use an icon in my application please?

mehdielaissi