Attacks in Baghdad and just north of the Iraqi capital, including a suicide bombing at a funeral and seven car bombs, killed at least 38 people on Wednesday, officials said.