I know the u
suffix means 'unsigned'. But is in necessary in the following code?
uint32_t hash = 2166136261u;
Is it a matter or convention? Or does it have any technical significance in this case? The value should be converted to unsigned anyway because uint32_t
is unsigned.
When should I and when should I not use the u
suffix for unsigned integer values?