C

Hello + argc/argv

c
#include <stdio.h>

int main(int argc, char **argv) {
  (void)argc;
  (void)argv;
  printf("hello\n");
  return 0;
}

Struct + pointer

c
typedef struct {
  int x;
  int y;
} Point;

void move(Point *p, int dx, int dy) {
  p->x += dx;
  p->y += dy;
}