Y
Hacker News
new
|
ask
|
show
|
jobs
by
kevin_thibedeau
1246 days ago
> Can you get a type of a argument in C?
You can get it indirectly using _Generic().
1 comments
1ris
1246 days 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.
link