#include <stdio.h>

int main() {
int d;
int a[4]={1,2,3,4};
int *p=&a[0];
int *q=&a[3];
printf("%d\n",*p);
d=p-q;
printf("%d\n",d);}

Embed on website

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