Posts

Showing posts from February, 2021

Understanding Pointers - The simplest Data Type

Image
  POINTERS IN CPP  Image Description : Any first year student studying pointers for the first time and like there are only two weeks to go for the End Semester Examinations To anyone reading this, without keeping in mind your semester or examination schedule just keep reading this for the next 10 minutes and believe me you'll start playing with pointers for the rest of your life, I promise! First things first, to learn anything new you should always keep an open mind, like start exploring stuff, don't consider it to be a kind of burden, lets learn pointers now with the same energy and enthusiasm, Okay, answer me this like we all know what a datatype is, don't we? Yes we do, like listing some basic ones of those, int, float, double and so on... When you write:  int x =10; double y =20.5; So what is going on is that there's this variable x which is storing an integer type value i.e. 10, right! Similarly, this variable y stores a double type value i.e. 20.5, right! Simila...