hii taken there are 5 types of ip add A, B ,C, D ,E. we dont use D & E
ip add contains network & host part .
so to identify host part from total ip machine use subnet mask so subnet mask by default is
A === N:N:N:H(total ip) mask == 255.255.255.000
B === N:N:H:H(total ip) mask == 255.255.000.000
C === N:H:H:H(total ip) mask == 255.000.000.000
wher N>network, H> host
i dont know whether u know abt binary AND operation this mask is ANDed with ur ip find out host
if u know binary system u can identify ip class just convert ip into binary
eg. 64.64.64.12 >>> 01000000.01000000.01000000.00001100
and check for first(s) digits
A== 0
B== 10
C== 110
D== 1110
E== 1111 just check with ur add
for ur case ur ip is 10.202.18.8> 00001010. 11001010.00010010.00001000
so first bit is"0" hence its class A