ExamVeda
Login
Home
81
Which one of the following string will print first by this program?
#include<stdio.h>
#include<pthread.h>
 
void *fun_t(void *arg);
void *fun_t(void *arg)
{
    printf("Example\n");
    pthread_exit("Bye");
}
int main()
{
    pthread_t pt;
    void *res_t;
    if(pthread_create(&pt,NULL,fun_t,NULL) != 0)
        perror("pthread_create");
    printf("Linux\n");
    if(pthread_join(pt,&res_t) != 0)
        perror("pthread_join");
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
82
The preprocessor creates the file with extension
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
83
System V IPC common attributes are
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
84
Which option of make command print the commands that would be executed, but do not execute them?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
85
we can change the priority of a running process using
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
86
What is the output of the below code?
void exit_handler1();   
void exit_handler2();    
int main() 
{     
	int pid;        
	atexit(exit_handler1);      
	atexit(exit_handler2);     
	pid = fork();       
	if(pid == 0) 
	{        
		_exit(0);      
        } 
        else 
	{          
		sleep(2);            
		exit(0);     
	}     
	return 0;    
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
87
Functions improves the shell's programmability significantly, because
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
88
ILP32 stands for
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
89
Which one of the following contains various bits of information about the state of power management?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
90
To put the breakpoint at the current line . . . . . . . . command can be used?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board