I have written a simple c program and given it a name of program When The code is made to run using code runner extension it uses this kind of statement
PS C:\Users\user_name> cd "c:\Users\user_name\Desktop\" ; if ($?) { gcc program.c -o program } ; if ($?) { .\program }
In this i could understand ( gcc program.c -o program ) but
what does if ($?) and if($?) {.\program }
mean ?