---
title: "Discussion on \"What's an Array Actually in C/C++ and as a Data Structure?\" | Hashnode"
description: "Discussion on \"What's an Array Actually in C/C++ and as a Data Structure?\". The formal definition of an array is: -\n“Array is a homogeneous collection of elements that are stored in a contiguous manner.”\n\nThis above definition is complete in itself.\n\nSuppose we want to use 10 variables in a program. Instead of thinking diffe..."
url: "https://hashnode.com/posts/whats-an-array-actually/6828a560941fc458c8c19021"
---

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

Discussion

# [What's an Array Actually in C/C++ and as a Data Structure?](https://arraysbyvidit.hashnode.dev/whats-an-array-actually?utm_source=hashnode&utm_medium=feed)

The formal definition of an array is: - “Array is a homogeneous collection of elements that are stored in a contiguous manner.” This above definition is complete in itself. Suppose we want to use 10 variables in a program. Instead of thinking diffe...

May 17, 2025 · 5 min read · arraysbyvidit.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#array](https://hashnode.com/tag/array)
-   [#c](https://hashnode.com/tag/c)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Vidit Vats](https://hashnode.com/@vidit2000)

@vidit2000

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

## Responses 1

Markdown supported · ⌘↵ to post

[Debajyati Dey](https://hashnode.com/@Debajyati)

[May 22, 2025](https://hashnode.com/posts/whats-an-array-actually/6828a560941fc458c8c19021/comment/682f1ecb70ca734434bd3bbc)

Well why your blog page in Arrays in C++? It should be only the Article name, isn't it?

Another thing you have started good but I must say please don't put screenshots of code. It's bad practice.

Refrain from this. Provide code snippets in form of text.

[Vidit Vats](https://hashnode.com/@vidit2000)

[Nov 23, 2025](https://hashnode.com/posts/whats-an-array-actually/6828a560941fc458c8c19021/comment/682f1ecb70ca734434bd3bbc#reply-6923317cf9f8abfbf9c9d038)

Ok. I will provide code snippets as text next time. But this was done intentionally so that one doesn't copy-paste the code.

[Debajyati Dey](https://hashnode.com/@Debajyati)

[Dec 5, 2025](https://hashnode.com/posts/whats-an-array-actually/6828a560941fc458c8c19021/comment/682f1ecb70ca734434bd3bbc#reply-6932f8458a0a9887307f2def)

[Vidit Vats](https://hashnode.com/@vidit2000) Well, that's great thinking, I suppose!

keep up the good work!
