Q. Which option is used for specifying the executable name while compiling with gcc?

  • (A) -e
  • (B) -o
  • (C) -a
  • (D) -b
πŸ’¬ Discuss
βœ… Correct Answer: (B) -o
Explanation: This question is about compiling programs using the gcc compiler. When you compile a program, you need to tell the compiler what you want the final executable file to be called.
Explanation by: Sandhya Thakur
This question is about compiling programs using the gcc compiler. When you compile a program, you need to tell the compiler what you want the final executable file to be called.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
100
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sandhya Thakur
Publisher
πŸ“ˆ
91%
Success Rate