Do parentheses force order of evaluation and make an undefined expression defined?
I was just going though my text book when I came across this question What would be the value of a after the following expression ? Assume the initial value of a = 5.Mention the steps a+=(a++)+(++a) At first I thought this is undefined behaviour because a has been modified more than once. So then I read the question and it said Mention the steps so I probably thought this question is right. So my question is : Does applying parentheses make an undefined behaviour defined ? Is a sequence point created after evaluating a parentheses expression ? If it is defined,how does the parentheses matter