| | | | MCQ Tutorial - Linux->Process | | | | 46.) Which option of gcc inhibit all warning messages? | | Options are: | | A.) -x
| | B.) -y
| | C.) -z
| | D.) -w
| | Correct Option: D | | | | | | | 47.) What is the job of -Werror option in gcc? | | Options are: | | A.) It avoids all the errors present in the source code
| | B.) None of the options
| | C.) It makes all warnings into errors
| | D.) It stores all the errors of source code into a seperate file
| | Correct Option: C | | | | | | | 48.) Which option of gcc links with a library file? | | Options are: | | A.) -L
| | B.) -link
| | C.) None of the options
| | D.) -l
| | Correct Option: D | | | | | | | 49.) Which one of the following command can be used to provide executable permissions for a file? | | Options are: | | A.) chmod +x
| | B.) chmod 777
| | C.) None of the options
| | D.) Both chmod +x and chmod 777
| | Correct Option: D | | | | | | | 50.) Which option of gcc looks in the provided directory for library files? | | Options are: | | A.) -l
| | B.) None of the options
| | C.) -L
| | D.) -link
| | Correct Option: C | | | | | | | | | | | |