1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <stdint.h>
  4. typedef struct Point {
  5. int64_t x;
  6. int64_t y;
  7. } Point;
  8. Point foo(Point p) {
  9. return (Point) {.x = p.x+1, .y = p.y+1};
  10. }
  11. int main() {
  12. int64_t x = 5;
  13. Point point[20];
  14. point[4] = (Point) {.x = 5, .y = 6};
  15. point[5] = foo(point[4]);
  16. printf("Hello World %d\n", x);
  17. return 0;
  18. }

goto line:
Compare with:
text copy window edit this code post new code