we can take r=4
Here there is an odd cycle so 3 colorable
for this odd cycle we can select colors in $^4C_3$ ways
Now considering the arrangement between the colors we get $^4C_3 \times 3! = 24$
Now, 1 vertex remains which can be colored with all the colors except the colors of the adjacent vertices i.e., $^2C_1 = 2$ ways
so total ways of coloring = $24 \times 2 = 48$
If we put value as 4 only option c matches
so answer is (C)