New and Delete Operator | OOPs in C++ | Lec-8 | Bhanu Priya

preview_player
Показать описание
Introduction to new and delete operators in C++ with simple program
Рекомендации по теме
Комментарии
Автор

Watched about 20 tutorials and couldn't get anything.
10 minutes into this lecture and I've finally understood the topic.

mashapimatimba
Автор

Tomorrow is my seminar related to this topics and i prepared with the help of your video thank you for this keep going on mam 🥰✨

joylinghetsiyol
Автор

Cout << a; will print only the address 2000....
Write cout <<*a; to print the value 100

ssgg
Автор

mam, in last program which you explained it may show error in alllocating memory by new operator
it will be "int *a = new int;

ankitsingh
Автор

U explained it very well mam.. Proud of you mam.. Keep it up.. Mam.. Keep the good work going. 😊

ShikhaSharma-dmul
Автор

#include<iostream>
using namespace std;
int main()
{
int *a= new int;
*a=100;
cout<<"print a:"<<*a;
delete a;
//return 0;
}

out put :
print a:100

carnyx
Автор

I love everything what you teach another awesome concept

trustedpanda
Автор

You teach very well and I understand your all the things very easyily

engineeringdream
Автор

I am not too clear on one point, " Why would I want to use the new pointer over just using a regular pointer?" What advantage to I get, or is it just the fact you can delete it when not needed; therefore, that memory is available to something else. ... ..

Impulse_Photography
Автор

I think maintain the fluency in language your understanding is happening in efficienct way

vedantpawar
Автор

Mam please upload a video of manipulators and string handling in c++..

rohtashsirohi
Автор

Plz upload overloading and stack unwinding

sandeepyenamala
Автор

Mam. MSc me operators in C++ aata h to kitne types likhna h or konse operators likhna h C++ me

studypointugandpg
Автор

mam hindi me bhi video bnao kyuki abhi maine search kiya new and delete operator in c++ to 2 video aaya lekin jo hindi me tha uska view jyada tha aur abhi survey ke hisab se youtube india me sabse jyada viewer hai

VloggerBoyDeepak
Автор

you write syntax of delect = delect pointer varible but you done delect a in code

pradipgyawali
Автор

U r just reading the explain what do you mean by returns a pointer

karuna_-ihtw
Автор

Mam aap India me pdha rahe ho aur mostly viewers aapke Indian hi honge Jo Hindi jante h so please tech us in hindi language taki achhe se bachhe samjhe

jaiveerrana
Автор

why are you just reading out bookish definitions, please put some effort on explanation.

abhinavsarma