Derived from this question...
Given the declaration in line 1 of main, are the second and third printf statements considered undefined behavior because they point to locations not owned by this process?
struct my_structure {
    int i;
};
void main() {
    struct my_structure variable = {20};
    struct my_structure *p = &variable;
    printf("NUMBER: %d\n", p++->i);  
    printf("NUMBER: %d\n", p++->i);   
    printf("NUMBER: %d\n", p++->i);   
}
 
     
    