Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kevin_thibedeau
· 3y ago · 0 comments
> Can you get a type of a argument in C?
You can get it indirectly using _Generic().
Comments
[–]
1ris
3y ago
Sorry my bad. Yes, it works for proper function arguments. Does this work for variadic arguments? Parent seems to suggest, but i'm not aware of any mechanism for this.