1.

Which option is used for specifying the executable name while compiling with gcc?(a) -e(b) -o(c) -a(d) -bThis question was addressed to me in an interview for internship.This key question is from Comment Syntax in division SQL Syntax of MySQL

Answer» CORRECT CHOICE is (b) -o

The EXPLANATION: When a C program is compiled with gcc, the option -o is issued in ORDER to specify the name of the executable that is created after compilation. The DEFAULT name given is ‘a.out’.


Discussion

No Comment Found

Related InterviewSolutions