---
title: "Discussion on \"Structure and typedef\" | Hashnode"
description: "Discussion on \"Structure and typedef\". C allows the creation of a user-defined variable. A situation can arise where one needs to store different but logically related values under a single variable. An example is product information. It can consist of the following attributes \n\nid (int)\n..."
url: "https://hashnode.com/posts/structure-and-typedef/615b0b29e2f1936f70b29d7f"
---

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

Discussion

# [Structure and typedef](https://mila.hashnode.dev/structure-and-typedef?utm_source=hashnode&utm_medium=feed)

C allows the creation of a user-defined variable. A situation can arise where one needs to store different but logically related values under a single variable. An example is product information. It can consist of the following attributes id (int) ...

Oct 4, 2021 · 4 min read · mila.hashnode.dev  
Updated Oct 10, 2021  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#shecodeafrica](https://hashnode.com/tag/shecodeafrica)

## Written by

[milam](https://hashnode.com/@Mila)

@Mila

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
