C can. Though it depends on the frameworks. Some frameworks support only mac, others support only PC. It's cause PC and Mac do some things differently.
You could theoretically make an application for both Mac and PC, though you'd need to find universal frameworks or build your own and you'd need to compile your application in a way that'd run on both machines or compiler it twice, once for mac and other for pc.