Permission denied in C


im trying to run a c program , it compiles however it doesn’t run i keep getting
"*-sh : ./ (filename.c): Permission denied *

Welcome to Webminal!

C programs supported on wmsudo platform. Just now I enabled your access. Please login and type wmsudo. With this platform , you have gcc and make sure to turn off the platform using poweroff command.

Let-me know if you face issues. Have fun!

One more thing (from your screenshot) : By default C output file will be a.out. If you use gcc -o stars stars.c then the output file will be stars not stars.c.

Please provide wmsudo plaform access. my user name is sukanyat

Its enabled now. Please login and type wmsudo. thanks!

Can you help me please? Having the same problem.

Please login and type wmsudo . Then write your C programs. thanks!