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

What was the symbol of death of gautama buddha?

A) Stupa B) Bodhi tree
C) Lion D) Chaitya
 
Answer & Explanation Answer: A) Stupa

Explanation:

Stupa represents the symbol of death of Gautama Buddha. On the other hand, Bodhi Tree is the symbol of nirvana of Gautama Buddha.

Report Error

View Answer Report Error Discuss

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

3 6216
Q:

What position did Babe Ruth play

A) Only 1st base B) Both pitcher and out fielder
C) Only out fielder D) Only pitcher
 
Answer & Explanation Answer: B) Both pitcher and out fielder

Explanation:
Report Error

View Answer Report Error Discuss

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

1 6215
Q:

Who of the following presidents of India was the recipient of Bharata Rana Award before becoming the president of India ?

A) Rajendra Prasad B) VV Giri
C) S. Radha Krishnana D) Fakruddin Ali Ahmed
 
Answer & Explanation Answer: C) S. Radha Krishnana

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

31 6213
Q:

The International Development Association, a lending agency, is administered by the

A) International Bank for Reconstruction and Development B) International Fund for Agricultural Development
C) United Nations Development Programme D) United Nations Industrialized Development Organization
 
Answer & Explanation Answer: A) International Bank for Reconstruction and Development

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

8 6213
Q:

A bill presented in Parliament becomes an Act after -

A) The Prime Minister has signed it B) The Supreme Court has declared it to be within the competence of the Union Parliament
C) The President has given her/his assent D) It is passed by both the Houses
 
Answer & Explanation Answer: C) The President has given her/his assent

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

11 6212
Q:

1990 was declared as the SAARC year

A) Of shelter for the homeless B) Of girl child
C) Of mutual cooperation D) Against drug abuse
 
Answer & Explanation Answer: A) Of shelter for the homeless

Explanation:
Report Error

View Answer Report Error Discuss

5 6209
Q:

I can be hot, I can be cold, I can run and i can be still, I can be hard and I can be soft?

Answer

It is WATER.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: CAT , Bank Exams
Job Role: Bank Clerk , Bank PO

18 6200