Apex Trigger
trigger AccountTrigger on Account (after insert) {
List<Contact> conList = new List<Contact>();
for(Account ac : Trigger.new){
if(ac.Create_Contact__C == true){
conList.add(New Contact (LastName=ac.Name, AccountId=ac.Id));
}
if(conList.size()!=0){
insert conList;
}
}
}