Define integer ranges in C
- by maddy
Hi,
I want to define a type named Int_1_100_Type which is an integer variable in the range from 1 to 100.
How should i typedef this one?
for eg:
i am passing this variable to a function which accepts variable of type Int_1_100_Type.
i.e funca(Int_1_100_Type Var1)
Thanks
Maddy