#include <stdio.h>
int* f() {
    static int x;
    return &x;
}


int main() {
    int* A = f();
    *(A+0) = 1;
    printf("%d\n", *(A+0));
    return 0;
}

Embed on website

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