Please check your language mode in right-bottom of vs code
If the selected language is not c/c++, please click that and select your language(C).