#include <stdio.h>

int a[2] = { 3, 8 };

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

Embed on website

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