top of page

What is a Pointer(*)?

  • koraylimancre
  • 14 Oca 2022
  • 1 dakikada okunur



Pointer simply is an integer value that is an adress of some memory location. Since memory adresses are in hexadecimal format, you need to cast it to int if you need the adress in decimal. Pointers may have types such as: int, string, float or anything(classes, structs). You can also use void as a type but in this case since the compiler doesn't know what is type of the entity that the pointer points to you cannot print or edit the entity.

Comments


AREmoji_20220114_174931_50[6].gif

                Koray Liman

Cpp Lover, Game/Mobile App Developer

  • Instagram
  • Twitter

Creativity. Productivity. Vision.

Subscribe

Thanks for submitting!

©2023 by Jeff Sherman. Proudly created with Wix.com

bottom of page