Yes. The const modifier means that this code cannot change the value of the variable, but that does not mean that the value cannot be changed by means outside this code. For instance, in the example in FAQ 8, the timer structure was accessed through a volatile const pointer. The function itself did not change the value of the timer, so it was declared const. However, the value was changed by hardware on the computer, so it was declared volatile. If a variable is both const and volatile, the two modifiers can appear in either order.
The above answere refer to the const pointer. the question is about const variable. If you are using the const variable, then you shoud not combine it with volatile since volatile is supposed to change
it is not possible to have a variable which is const and volatile... const means its value cant be changed,but using pointers we can access address of variable and can change its value.. volatile means its value can be changed...