AMI Interview Question

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