/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>

void printShort(short buffer[]);

int main() {
    short buffer[3] = {-1, 0, 1};
    printShort(buffer);
    return 0;
}

void printShort(short buffer[]) {
    printf("%d\n", buffer[0]);
}
