S
saurabh29789
Here is a C++ code snippet :
{
int i = 10;
++i = 2;
}
Would the statement 2 invoke UB ??
PS : I think yes, it should, because i is being changed twice between
2 consecutive sequence points.
{
int i = 10;
++i = 2;
}
Would the statement 2 invoke UB ??
PS : I think yes, it should, because i is being changed twice between
2 consecutive sequence points.