Wouldn't that imply that C programmers resort to SO more often than they publish code on GH compared to JS?
C has two big areas I think - Linux/open source software, and embedded work. A lot of open source projects in Linux land are for whatever reason not in Github. Heck I still see sourceforge a lot. Embedded work is likely done for a company and of course wouldn't be in Github.
both GH and SO are probably not representative of the industry.
With Go especially, my default move when I have a question, is to go to golang.org/pkg and find find the package I'm having issues with. Assuming it's a standard package problem, of course. The built in editor for examples is really great. I can run a little test quickly, and move on.