Choose a topic to test your knowledge and improve your Unix/Lunux skills
The correct sequence of GCC compilation process is
The preprocessor removes the _______ from the source code.
The compiler converts
The assembly code is converted into the machine code by
What is the role of linker in the compilation process?
If sanfoundry.c is compiled with GCC, then the sanfoundry.s file will contain the
The object file contains the
If we do not specify the executable file name at the compilation time in GCC, then in linux the compiler creates executable named as
The macros specifies in source code are expanded by
The preprocessor creates the file with extension
The a.out file is in the
Which one of the following command can be used to provide executable permissions for a file?
The lines in our code that begin with the “#” character are
Command line parameters are passed by the
In the preprocessing stage of compilation
Which compilation step makes sure that all the undefined symbols in the code are resolved.
Which one of the following is not true?
Preprocessed files are given the file extension _____ for c++ programs.
The assmebly code generated depends upon the
The COFF stands for
In Linux, the static library has the extension of
The library contains the
Libraries can be linked with ____ to create executables.
In Linux, the static libraries can be created by
If a program is linked against a static library then
To use the static library in the program
Which gcc option is used to specify the library?
In linux, the static libraries are mostly installed in
Which one of the following command can list the symbols defined in a library?
The archive(ar) utility in linux can
In linux shared libraries has the extension of
When a program is linked with a shared library
Shared libraries can be shared between
In linux, shared library is a
In GCC compiler, “-shared” option is given to create the shared library with
Which option of GCC compiler provides the linking with shared libraries?
After using the shared library, memory can be done free by calling
Shared libraries are linked with the program
For a shared library, version number is changed when
Which command can be used to update the shared library system?
For debugging with GDB, the file “sanfoundry” can be created with the command
For debugging with GDB, the compiled program can be run by the command
In GDB, breakpoints can be set by the command
GDB stands for
GDB can be used for
The command “gdb sanfoundy”
In debugging with GDB, break points can be set to
In GDB debugging, we can proceed to the next breakpoint with command
At the time of debugging with GDB, if we just press ENTER
To print the value of a variable while debugging with GDB, ______ command can be used.