Advertisement
Guest User

Untitled

a guest
May 20th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. struct Points{
  5. int* x;
  6. int* y;
  7. };
  8.  
  9. int main(void) {
  10. struct Points p = { .x = ((int[10]){0}), .y = ((int[]){4,5,6})};
  11. printf("%n",p.y[2]);
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement