For Writing C Program in Visual Studio Code you need following libraries which i will show how to download and install it
Visual Studio code is great tool given by microsoft as a open Source . It is light weight Editor With Add Plugin Facility . You can writing almost any type language in it . You can add any type of plugin for any languages as you want . Even You install Typings for any Language of your like to enable intelliSense which really helps you in writing a program .
MinGM is Package Manager From here you can download many libararies and compilers for different langauges Like C,C++ ,Ada , C objective Compiler and many More
Steps to setup Visual Studio Code for C / C++
Congratulation now you are all set to rock for writing c program in Visual Studio Code . Open Visual Studio Code Now and Create new file name as helloworld.c . Now Press (ctrl+`) to open integrated terminal provided by visual studio code
./a (to run program)