I have read this answer it suggests that Bash questions are on-topic since it helps in administration.
Keeping this in mind, C programming questions too should be on-topic. Since is mostly used to write Ubuntu. More importantly we can use C to write services and routine. To me it sounds like there is no specific difference between them if one talks about Ubuntu.
So why C programming questions are not on-topic?
One of the person in chat said me: "bash is a shell and native to Linux. C is a coding language. coding languages have their own stack site :=) shells do not". My comment on this: Since, bash is native to Linux and shell so is C language. "coding languages have their own stack site :=) shells do not" ? If you talk reversely, since we have Unix & Linux, there is no need of AskUbuntu :-)