Slave codes were slaved passed by southern states to increase an owner's control over enslaved African Americans' behavior. all of the following applied under the codes except:

a they were forbidden to gather in groups of more than three
b they needed a written pass to leave their owners land
c they were not allowed to learn how to write, but could learn to read
d they were not allowed to own guns

c they were not allowed to learn how to write, but could learn to read