What happens if someone downloads an iPhone app but has an Android?

What happens if someone downloads an iPhone app but has an Android?

It won't allow you to do it.

The systems are not compatible, it will not work.

They both use different codes that don't communicate with one another. The android user will need to download the android version of the app.

You can't.