This question already has an answer here:
PLEASE NOTE THAT THIS QUESTION IS NOT A DUPLICATE AS SUGGESTED. This deals with information provided BEFORE reaching the border.
Are international (NON-EU/EEA/SCHENGEN) tourists generally required before entering the UK at the border (so for instance, in their visa application/interview...) to provide any information at all about the person they're visiting (both in case they're staying at this person's place, or in case they're staying in a hotel) if they're coming to the UK to visit a family member or a friend?
In case of a positive answer to the above: is this information only provided orally, informally and off-the-records, or will a record be kept?