Questions

Q:

Undefined reference to 'pthread_create'

How to Fix this error?

Answer

This is a common error while compiling C program in Linux. This error occurs when you are using pthread_create function to create threads in your programs.


To fix this problem ensure following points:
Include header file pthread.h in your program.
Add –lpthread linker flag with compilation command.
1- Include Header file
#include <stdio.h>
#include <pthread.h>
...
...
2- Compile command
gcc main.c -o main -lpthread

Report Error

View answer Workspace Report Error Discuss

0 2623
Q:

How many member countries are there in the Executive Board of UNESCO

A) 68 B) 58
C) 28 D) 88
 
Answer & Explanation Answer: B) 58

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

3 2622
Q:

Project Management - Introduction

What is program Management?

Answer

A program is a group of related projects managed in a coordinated way to obtain benefits and  control  not available from managing them individually. Programs may include elements of related work outside of the scope of the discrete projects in the program.


For example:


A New car model program can be broken up into projects  for the design and upgrades of each major component (transmission, engine, interior, exterior) while the ongoing manufacturing occurs on the assembly line

Report Error

View answer Workspace Report Error Discuss

0 2622
Q:

What is the difference between a Local and a Global temporary table?

Answer

Local :


Only available to the current Db connection for current user and are cleared when connection is closed.


Multiple users can’t share a local temporary table.


 


Global:


Available to any connection once created. They are cleared when the last connection is closed.


Can be shared by multiple user sessions

Report Error

View answer Workspace Report Error Discuss

1 2622
Q:

How To improve system redundancy using its grid architecture, where in the XIV System can a partition be mirrored?

A) on same disk in different modules B) on disks in other modules
C) on different disks in the same module D) on same disk, in same module, and in different modules
 
Answer & Explanation Answer: B) on disks in other modules

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2621
Q:

Which statement is true about blood alcohol concentration?

A) The higher the blood alcohol concentration, the more severe the hangover will be. B) Drinking coffee and exercising will lower your blood alcohol concentration.
C) Blood alcohol concentration is affected by factors such as body size and gender. D) None of the above
 
Answer & Explanation Answer: C) Blood alcohol concentration is affected by factors such as body size and gender.

Explanation:

Blood alcohol concentration is affected by factors such as body size and gender. Women are usually smaller than men, and that they turn out less of the enzyme that breaks down alcohol.

 

For those reasons, most girls can have a higher BAC than the typical male if they each drink an identical quantity of alcohol.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

3 2620
Q:

Who has won the Hero Indian Golf Open 2017 ?

A) Gavin Green B) S.S.P. Chawrasia
C) Anirban Lahiri D) Scott Jamieson
 
Answer & Explanation Answer: B) S.S.P. Chawrasia

Explanation:

Chawrasia, became the first Indian to successfully defend a European Tour title and the first player to win their first four events in their home country.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams , CAT
Job Role: Bank PO

8 2620
Q:

What has 4 Eyes But cannot see?

Answer

What has 4 Eyes But cannot see is Mississippi.


The wording of Mississippi has 4 'i''s. But it can't see.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer , Project Manager

8 2620