Basic struct usage questions

Reference for question #2: