Cisco interview question

How to return a structure member with just an offset.