I understood that if we use volatile and const together to a variable indicates that the variable value cannot be changed inside the scope of the code, but can be changed by outside scope — for example, hardware interaction with the variable a.
But what is the difference between the syntax volatile const int a and const volatile int a?