ExamVeda
Login
Home
31
Which GDB command prints the value of a variable in hex.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
32
The file /proc/[PID]/cmdline holds the complete command line for the process, unless the process is a
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
33
User id 0 is
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
34
What is the output of this progarm?
#include<stdio.h>
#include<unistd.h>
 
int main()
{
    pid_t child;
    int a, b;
    a = 10;
    b = 20;
    child = fork();
    a = a + b;
    if(child > 0){
        printf("%d\n",a);
    } 
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
35
Which of the following is not a valid file type on Linux
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
36
What is the output of this program?
#! /usr/bin/awk -f
BEGIN {
    var1="example"
    var2="linux"
    print var1" provides "var2" MCQs "	      
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
37
To redefine a variable, it can be removed from the list of variables by using the command
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
38
The built-in function tolower()
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
39
Which compilation step makes sure that all the undefined symbols in the code are resolved.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
40
Macros for the makefile can be defined in
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board