Preprocessor Solution

  • + 0 comments

    this is another solution :

    define INF unsigned (~1)

    which is equal to 4294967294

    it is due that 1 with 32 digit binary is 00000..1, if you apply the operator not it convert in 11111..0