techjays interview question

difference between structs and class FCM,Memory management