#include<stdio.h>
struct s{
int x;
int y;
};
int main(void)
{
struct s a={10,20};
struct s b={10,20};
struct s c={30,40};
if(a.x==b.x)a.x=c.x;
a=b;
//if(a ==b)a=c;
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KCiBzdHJ1Y3Qgc3sKIGludCB4OwogaW50IHk7CiB9OwoKIGludCBtYWluKHZvaWQpCiB7CiBzdHJ1Y3QgcyBhPXsxMCwyMH07CiBzdHJ1Y3QgcyBiPXsxMCwyMH07CiBzdHJ1Y3QgcyBjPXszMCw0MH07CgogaWYoYS54PT1iLngpYS54PWMueDsKIHByaW50ZigiYS54ID0gJWRcbiIsYS54KTsKCiBhPWI7CgogLy9pZihhID09YilhPWM7CiBwcmludGYoImEueSA9ICVkXG4iLGEueSk7CgogcmV0dXJuIDA7CiB9