⟩ GDB command "frame" is used a) to change the stack frames b) to check the stack frames only c) it is not a valid command d) none of the mentioned
a) to change the stack frames
a) to change the stack frames
Which option of gcc adds include directory of header files? a) -i b) -I c) -e d) -E
The -shared option of gcc generates shared ______ for shared library. a) object file b) preprocessed file c) source file d) none of the mentioned
The command "as -o google.o google.s" will a) generate object file google.o b) provide an error if google.s exists c) both (a) and (b) d) none of the mentioned
The -H option of gcc a) prints the name of each header file used b) is used to include header file c) ignores the header file which are not required by source code d) none of the mentioned
The -fPIC option of gcc a) generates the position independent code of shared libraries b) opens the source file in readonly mode c) both (a) and (b) d) none of the mentioned
What is the job of -Werror option in gcc? a) it avoids all the errors present in the source code b) it makes all warnings into errors c) it stores all the errors of source code into a seperate file d) none of the mentioned
Which option of the gcc is used to warn is padding is included in structure? a) -Wpadded b) -Wpad c) -Wpadding d) none of the mentioned
The command line options of gcc can also be read from a file with a) @ b) $ c) # d) none of the mentioned
The gcc option -Wunused warns when a _____ variable is unused aside from its declaration. a) variable b) function c) macro d) none of the mentioned
The command "gcc -save-temps google.c" will generate a) google.i b) google.s c) google.o d) all of the mentioned