Posts

Showing posts with the label datatypes in cpp

What Is Variables And It's Data Types ? || Explained With Real Life Example || Variables and datatypes in C++

Image
  VARIABLES AND IT'S DATATYPES IN C++ By- Dhananjay Arne What is a variable? A variable is a space in your memory in which you can store data. Variables allow you to use that stored data in the future in your program. You can create a variable in the program and then you can use it. Understanding Variable With A Real-Life Examples -   To get a more clear understanding of the variable let me explain this concept with a real-life example. As you have a kitchen in your home, in the kitchen you may have some boxes in which you can store sugar, salt, chili, etc. and if the boxes are not transparent and same then probably you put a label on it in which you write what is inside in this box, and you can use these boxes to store some kind of ingredients or masala, so you can use it in future. So same as you are doing in your kitchen you can do this in programming also. As you have boxes in your kitchen , same in programming you have memory in your CPU. As you store some ingredient...