Step 1 – Download VS Code from below URL:
Step 2 – Open VS Code after Installation and click on the button highlighted below to install extensions for C & C++
First install plugin “C/C++” of microsoft
Then install plugin “Code Runner”
After installing “Code Runner” Successfully we have to enable one more setting
Enable – “Code-Runner – Run in Terminal”.
Now you are all set !!!