Q18. What is the difference between a lookup relationship and a master-detail relationship in Salesforce?
a) In a lookup relationship, the child record can exist without a parent record, while in a master-detail relationship, the child record cannot exist without a parent record.
b) In a lookup relationship, the child record is deleted when the parent record is deleted, while in a master-detail relationship, the child record is not deleted when the parent record is deleted.
c) In a lookup relationship, the child record inherits the security settings of the parent record, while in a master-detail relationship, the child record has its own security settings.
d) In a lookup relationship, the child record is the primary record, while in a master-detail relationship, the parent record is the primary record.