Will the .hex files be different if there is any change in the Keil version.
Almost certainly Yes!
The same would apply to any compiler.
Especially when there's a change in the Major version number!