Can my iphone give my pc a virus through usb?

Can my iphone give my pc a virus through usb? - 1

Possibly.

It all depends if your phone has a PC program that has a virus.

It must be a PC program. Data files, such as photos and videos, are not programs and can't carry viruses. Meanwhile iPhone viruses do not work on PCs (or vice-versa - your PC can't infect your iPhone)

Not very likely since iPhones getting viruses is hard enough by itself, let alone transferring one to a computer.