1.

What is the option for specifying the executable name while compiling with gcc?(a) -e(b) -o(c) -a(d) -bI had been asked this question during an interview for a job.Question is from Access Control and Security topic in chapter MySQL Administration of MySQL

Answer»

Right choice is (B) -o

Easy 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