The correct answer is (c) KITMHMG.
The code of ABSENT is ZYHVMG. This can be decoded as follows:
A = Z
B = Y
S = H
E = V
N = M
T = G
To decode the code of PRESENT, we can use the same rule.
P = K
R = I
E = T
S = M
E = T
N = G
T = H
Therefore, the code of PRESENT is KITMHMG.
The other options are incorrect because they do not follow the same rule. For example, in option (a), K is used to represent A, but in option (c), K is used to represent P. This is not consistent with the rule that each letter in the original word is represented by a different letter in the code.
In option (b), I is used to represent B, but in option (c), I is used to represent R. This is also not consistent with the rule that each letter in the original word is represented by a different letter in the code.
In option (d), G is used to represent T, but in option (c), G is used to represent N. This is also not consistent with the rule that each letter in the original word is represented by a different letter in the code.