Void or Generic Pointer in c++ - 11

preview_player
Показать описание
In this video we'll learn about pointers and void pointer (also called as
Generic Pointer)
-----------------------------------------------------------------------------------------------------------
One Small Mistake at 1:40 *ptr = &demo IT SHOULD BE ptr=&demo (there is no need of * since we are assigning address not value) Thanks to novakrazy14 (One of My Subscriber for Pointing Out this Mistake)
-----------------------------------------------------------------------------------------------------------

Music:
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
Рекомендации по теме
Комментарии
Автор

One Small Mistake at 1:40
*ptr = &demo IT SHOULD BE ptr=&demo (there is no need of * since we are assigning address not value)
Thanks to novakrazy14 (One of My Subscriber for Pointing Out this Mistake)

Codearchery
Автор

Awesome explanation.
Explaining concepts by animations makes us understand very easily than a lot of talking.
"A picture is worth a thousand words".
Thank you.

Kaushikvel
Автор

I LOVE THIS GUY FOR TEACHING SUCH COMPLICATED TOPIC IN MY SCHOOL LIFE IN SUCH AN EASY WAY.
THANK YOU☺

rnedltr
Автор

You have superb c++ tutorials. Absolutely love it! Keep going!!

anushkas
Автор

point too be noted
00:00:20 (void pointer is generic pointer.)
00:02:55 (data type of pointer is void. that is generic pointer)

samiulislamdurjoy
Автор

I love your videos I love how they are animated, but you made a mistake at 1:40.
You have it as *ptr = &demo, but when you separate it from the variable, you should not have the *.
Unless you do it as int *ptr = demo then it is fine. But the way you did it, it should be ptr = &demo.

novakrazy
Автор

Good Effort and good videos bro I really liked your effort and thank you for making these videos they helped me alot <3

abdulwahabtanveerchaudhary
Автор

Excellent videos and best explanation .

sadiaarooj
Автор

Sir do u have the video of why return type is used ? And what does it mean

sajjadalamshaikh
Автор

You haven't mentioned the syntax for pointer.. plus the syntax for casting.. please mention.. It will help me in understanding this program.

hassanahmed
Автор

Hi could u make a video on "this--> " pointers pls

chuksbrian
Автор

1:30 Pointer is not named **ptr* ... **ptr* is an int ... pointer is named *ptr* . A good reason to use " *int** ptr " declaration.

pmcgee
Автор

Can explain more about pointer by using bog programme
Pls and make some videos on finding the output in function

chetanbatra
Автор

Nice explanation, thanks! But why don't you indent your code!? it hurts to look at

tyrisnolam
Автор

i didn't understand that part you maid (( void *void_ptr ;

void_ptr = &data ;

int_ptr = (int *)void_ptr ;

))

would you please explain more or maybe another video with better example ?

rezaarian
Автор

itni mehnt ki kya zrort just cout use kr lena c

ayeshaarooj