Page 1 of 1

About Question enthuware.ocpjp.v8.2.1468 :

Posted: Wed Apr 18, 2018 7:21 am
by everdelightedone
Explanation part contains
"Further, since the variables x and y are not declared as volatile, the updates"...
It looks like there should be "atomic" instead of "volatile"

Re: About Question enthuware.ocpjp.v8.2.1468 :

Posted: Wed Apr 18, 2018 7:25 am
by admin
No, it is correct. You can't "declare" variables as atomic.