q2
1.You can use ./a.out
2.To use a.out to run the executable, you can add current working directory to the path;you can temporarily change the path by command "export PATH=$PATH:./" if you want to change the path permanently, you should edit some system fiels.
2.To use a.out to run the executable, you can add current working directory to the path;you can temporarily change the path by command "export PATH=$PATH:./" if you want to change the path permanently, you should edit some system fiels.