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 9097
Q:

In the following question, four words are given out of which one word is correctly spelt. Select the correctly spelt word.

A) constituet B)  iliterrate
C)  conctituet D) constitute
 
Answer & Explanation Answer: A) constituet

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

58 9097
Q:

The tributary of River Indus which flows through Himachal Pradesh is 

A) Sutlej B) Beas
C) Ravi D) Hunza
 
Answer & Explanation Answer: A) Sutlej

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

25 9090
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 9088
Q:

How do you stay up to date with fashion?

Answer

Designers stay current by reading magazines, browsing the internet, attending fashion shows, and studying technical manuals. They study the history of fashion to better understand its development and current tendencies.

Report Error

View answer Workspace Report Error Discuss

8 9078
Q:

Tochi, Gilgit and Hunza are tributaries of

A) Ganga B) Indus
C) Brahmaputra D) Yamuna
 
Answer & Explanation Answer: B) Indus

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

19 9077
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 9076
Q:

Which vehicle is spelled the same forwards and backwards?

Answer

Racecar and Civic are the two vehicles which spelled the same forwards an backwards.

Report Error

View answer Workspace Report Error Discuss

7 9073