I am getting an error while running the output(a.exe) of a C program. Command prompt showing "Access is denied". I have reinstalled gcc but same problem is arriving. Here is the screenshot of error
That output is seen, when you try to run a x64 binary on a x86 system. But there are numerous other possibilities.
Another likely possibility is your Antivirus realtime scanning. Be sure it does not block access for you.
Provide more details and I'll update this accordingly.