
If you ever encountered the error
file not recognized: File format not recognizedcollect2.exe: error: ld returned 1 exit status
while running you your c code on vscode
Below are the steps to take in order to resolve it:
1. Check if your file is named as a c file
2. rename your file as c file
3. save your file
4. re-run your file and it will print the imputed product

Hope this works?