1.

The option for specifying the executable name while compiling with gcc is _____________(a) -e(b) -o(c) -a(d) -bThe question was asked by my school principal while I was bunking the class.My question is from Compiling and Linking Client Programs in chapter MySQL Programs Using C of MySQL

Answer»

Right choice is (B) -o

The explanation is: 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