103.
Which one of the following is not true about this program?
#include<stdio.h>
#include<signal.h>
 
void response (int);
void response (int signo)
{
    printf("%s\n",sys_siglist[signo]);
    signal(SIGSEGV,SIG_IGN);
}
int main()
{
    signal (SIGSEGV,response);
    char *str;
    *str = 10;        
    return 0;
}

105.
What is the output of this program?
#! /usr/bin/awk -f
BEGIN {
    a=0
    do {
        print "example"
        a++
    } while (a<5)
}

Read More Section(Linux)

Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.