Untitled
unknown
c_cpp
4 years ago
143 B
19
Indexable
struct foo {
int x;
int y;
};
void
bar(struct foo f)
{
}
int
main()
{
struct foo f = {
.x = 1,
.y = 2,
};
bar(f);
return 0;
}Editor is loading...
struct foo {
int x;
int y;
};
void
bar(struct foo f)
{
}
int
main()
{
struct foo f = {
.x = 1,
.y = 2,
};
bar(f);
return 0;
}