Letter B is the correct answer.
Garbage left on curb is considered to be public property. Thus, police officers do NOT need a warrant to search through suspect's garbage when the garbage has left the suspect's home or sidewalk. However, if the trash can has not been abandoned yet and is reasonably close to the house, then searching through it without a warrant is considered illegal.