Hello there! I don't personally have experience with c. diff, but I hope someone replies who does. In the meantime, we also have a support group for people who have it.
When one of my students had it recently, she was hospitalized and then kept from school/public for a week. I guess it would depend on the severity of it. Definitely a question to ask the dr.