#include <stdio.h>

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

int main() {
    printf("a[0] == %d  a[1] == %d\n", a[0], a[1]);
    
    p = &a[0];
    p = p + 1;
    *p = 0;
    
    printf("a[0] == %d  a[1] == %d\n", a[0], a[1]);
}

Embed on website

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