which of these was a restriction placed on african americans under the black codes? a. african americans were prevented from owning guns. b. african americans could not accept wages for work completed. c. african americans were prevented from leaving the south without permission. d. african americans could not work in white households.