Question

.Write C code that increments a variable, but forces it to a range of 0 to 31 (0,1,2,3, ... 29,30,31,0,1,2,..)

Fig: 1