c - Difference between hexadecimal values and normal types -
i doing assignment in c:
basically have struct has char
, int
types. assignment says have fill struct fields predefined values.
the thing values represented hexadecimal values. since bit confused hexadecimal, fill fields normal values.
for example int
filed, assign 20151
instead of 0x4eb7
.
i know works still bit worried, there difference between these representations?
they 2 ways of expressing same thing; can use whichever makes sense.
Comments
Post a Comment