---
title: "Discussion on \"Variables and Data Types in C++ : Part 2\" | Hashnode"
description: "Discussion on \"Variables and Data Types in C++ : Part 2\". Introduction to Variables\n\nA variable is a storage place that has some memory allocated to it. It is used to store some form of data.\n\nDifferent types of variables require different amounts of memory.\n\n\nVariable Declaration\nIn C++, we can declare var..."
url: "https://hashnode.com/posts/variables-and-data-types-in-c-part-2/63ca246cdcdb086ce01170a6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Variables and Data Types in C++ : Part 2](https://lubnafathima.hashnode.dev/variables-and-data-types-in-c-part-2?utm_source=hashnode&utm_medium=feed)

Introduction to Variables A variable is a storage place that has some memory allocated to it. It is used to store some form of data. Different types of variables require different amounts of memory. Variable Declaration In C++, we can declare var...

Jan 20, 2023 · 8 min read · lubnafathima.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Lubna Fathima](https://hashnode.com/@lubnafathima)

@lubnafathima

  
[View profile](https://hashnode.com/@lubnafathima)

Web Development

I'm an Information Technology Undergraduate with a keen interest in web development. MERN stack enthusiast and seeking to gain more expertise in backend development. Learning Data Structure Algorithm and contributing to open source.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
