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

24 9158
Q:

Riddle

How can you add eight 8's to get the number 1,000? (only use addition)

Answer

The key to this math riddle is realizing that the one place must be zero.
888 +88 +8 +8 +8 =1,000

Report Error

View answer Workspace Report Error Discuss

Subject: Math Puzzles

26 9151
Q:

India Home Rule Society, founded in Landon in February 1905, was one of the earliest revolutionary societies set up outside india. This society was founded by

A) Lala Har Dayal B) VD Savarkar
C) Shyamji Krishna Verma D) Madan Lal Dhingra
 
Answer & Explanation Answer: C) Shyamji Krishna Verma

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

7 9149
Q:

Alloy of copper and zinc is called

A) Bronze B) Gold
C) Silver D) Brass
 
Answer & Explanation Answer: D) Brass

Explanation:

alloy_of_copper_and_zinc_is_called1556100441.jpg image

 

Alloy of copper and zinc is called as Brass.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: GATE , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

3 9144
Q:

Combining drugs usually leads to

A) Negating the effects of all types taken B) More intense effects
C) Increase in hunger D) Increase in future doses
 
Answer & Explanation Answer: B) More intense effects

Explanation:

Combining drugs usually leads to more intense effects on our health.

combining_drugs1531893466.jpg image

Report Error

View Answer Report Error Discuss

Filed Under: Medical Assistant

5 9143
Q:

Have you ever been in a situation where significant change was made to your team, department or organisation? How did you adjust?

Answer

The purpose of this question is to check your adaptability and flexibility. Did you feel victimized?


Answer this question by mentioning the change that was made but the main focus should be on how you adjusted in that situation and the results you achieved afterwards.


For example you can say something like, “Being an early joiner in the marketing team, I opened a lot of new customer accounts. Over the time the team grew and we had more people in the team opening more accounts. At one point of time, we had to re-distribute the accounts area wise so that a particular territory can be allotted to each one of us. This re-distribution meant loss of my high performing accounts and a requirement to develop new accounts in the assigned territory. Initially, it looked difficult but I could understand the need for this re-distribution and saw more opportunities for the company and myself. I introduced my colleagues to the old accounts I held and started strategizing for better ways to tap the new territory. Within 6 months, I could develop 50 new accounts with the help of new strategy. Usually we would achieve this result in 9 months to a year.”

Report Error

View answer Workspace Report Error Discuss

Subject: Human Resources

7 9142
Q:

Hockey was introduced in the Asian Games in

A) 1958 in Tokyo B) 1962 in Jakarta
C) 1966 in Bangkok D) 1970 in Bangkok
 
Answer & Explanation Answer: A) 1958 in Tokyo

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

37 9142
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence.


A person or thing that is a perfect example of a particular quality or type

 

A) Epitome B) Abase
C) Libertine D) Profligate
 
Answer & Explanation Answer: A) Epitome

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

58 9140