Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

Destructuring in C


I was wondering if destructuring is possible in C. Here's an example in pseudocode of what I'm thinking of:

void func({ int foo; int foo2; }){ } struct { int foo; int foo2; } victim;

Not particularly necessary but I recall finding something about this or something similar, which I can't find now.

smert ppl halp

2 years ago
You are viewing a single comment. View All