AMI interview question

How structure differs from union. How to use dynamic memory allocation