[C] Segmentation Fault (help me compile my program in an old compiler)

Job ID: 34651036

Budget: €2 – €6 EUR

Hi,

I would like someone to help me compile my code in an old C compiler (probabely before 1999)

I attach the screenshot.

The 2 files should compile writing:
gcc -Wall <filename>

Reward: €10 EURO (in an hourly contract) + 5/5 stars
Deadline: by tommorow