A DNS answer carries a TTL field beside its answer data.
TTL lives inside the answer
After the compressed name, the answer record carries type, class, TTL, length, and address bytes.
TTL=300
The name is still a pointer
The answer NAME is pointer 0xc00c, targeting offset 12.
0xc00c→12
The TTL value is exact
The TTL field is 0x0000012c, which is decimal 300.
TTL=300
Summary
The answer TTL is a field in the response, next to the answer address bytes.
answer type=1