Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- struct Points{
- int* x;
- int* y;
- };
- int main(void) {
- struct Points p = { .x = ((int[10]){0}), .y = ((int[]){4,5,6})};
- printf("%n",p.y[2]);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement