---
title: "Discussion on \"Tagged Unions in C\" | Hashnode"
description: "Discussion on \"Tagged Unions in C\". Introduction\nOne of my favorite data structures is the tagged union. It is also usually called\nas a variant, discriminated union, disjoint union, or sum type. Just like regular\nunions, it can hold different types of data in the same place in memory. ..."
url: "https://hashnode.com/posts/tagged-unions/626e92fed02237eb3fc7c60a"
---

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

Discussion

# [Tagged Unions in C](https://blog.ryanmartin.me/tagged-unions?utm_source=hashnode&utm_medium=feed)

Introduction One of my favorite data structures is the tagged union. It is also usually called as a variant, discriminated union, disjoint union, or sum type. Just like regular unions, it can hold different types of data in the same place in memory. ...

Jul 4, 2021 · 7 min read · blog.ryanmartin.me  
Updated Nov 27, 2022  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#programing](https://hashnode.com/tag/programing)

## Written by

[Ryan Martin](https://hashnode.com/@rmrt1n)

@rmrt1n

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
