The following code in CodeBlocks triggers Bitdefender virus alarm and it deletes the Debug bin folder and I don't understand why.
The code compiles and runs but the windows shell is empty.
Also, if I print only p1 or only p2, it runs smoothly, as soon as I try to run both, the AV triggers and deletes the bin.
typedef struct
{
int x, y;
}Point;
int main()
{
Point p1={2, 5};
Point p2= {.x= 2, .y= 5};
printf("x= %d\n", p1.x);
printf("y= %d\n", p1.y);
printf("x= %d\n", p2.x);
printf("y= %d\n", p2.y);
}
