<?php$output=shell_exec('gcc prog.c');echo "$output";?>
I'm trying execute a c program using php and have used shell_exec to call gcc to execute the program but it is giving no output but there is no error being showed . Can please someone correct the mistake?