Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
32:09 Printer::printer().~printer(); (just above return 0 statement ) can cause memory leak as our object is in dynamic memory and it would not be freed up.instead use delete Printer::printer();
Yes. Should be 𝚍𝚎𝚕𝚎𝚝𝚎 &𝙿𝚛𝚒𝚗𝚝𝚎𝚛: :𝚙𝚛𝚒𝚗𝚝𝚎𝚛();
Better here than in swayam supperrr clarity and correct
15:04 compiler will start crying xD
Lol
😿compiler
fabulous explanation ! Deep thinking
One of the best lecture..!!
when i run the program for singleton class the output isn't the same? can anyone else who has tried explain?
32:09 Printer::printer().~printer(); (just above return 0 statement ) can cause memory leak as our object is in dynamic memory and it would not be freed up.
instead use delete Printer::printer();
Yes. Should be 𝚍𝚎𝚕𝚎𝚝𝚎 &𝙿𝚛𝚒𝚗𝚝𝚎𝚛: :𝚙𝚛𝚒𝚗𝚝𝚎𝚛();
Better here than in swayam supperrr clarity and correct
15:04 compiler will start crying xD
Lol
😿compiler
fabulous explanation ! Deep thinking
One of the best lecture..!!
when i run the program for singleton class the output isn't the same? can anyone else who has tried explain?