#include <stdio.h>

int a[2] = { 5, 7 };
int *p,*q;

int main() {
    
    p = &a[0];
    q = &a[1];
    
    printf("%ld\n", q - p);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: