Answering again here
Answer is Yes. The const modifier means that this code cannot change the value of the variable, volatile still means that compiler cannot optimize or reorder. Both can appear in any order i.e. constant volatile or volatile constant.