Error while running C code

This is a simple code about pointers in C. Code is right, I have checked its working in VS Code but I don’t know why but this code is not working in replit. It is showing some weird error in console.

Move pointers.c into main.c.
Replit compiles both files as the same project, meaning main gets defined twice.