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

Titan industries has rolled out its own Swiss made premium watches in India under the brand Name of 

A) Insignia B) Xylys
C) Bvlgeri D) Titan Sens
 
Answer & Explanation Answer: B) Xylys

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

5 2862
Q:

What is the difference between real money & nominal money?

Answer

Nominal money relates more to it's measure of counting - so nominal figure of what is written on bill, while "real" relates more to it's purchasing power (usually between some periods of time). For instance 100 units in nominal could buy 2 units of good in 1950 and 1 unit of good in 2005, at the same time real value of this 100 nominal units are 100 real units in 1950 and 50 real units in 2005.


Same is with GDP. In nominal it can rise due to inflation while it can stay the same or even decrease in real value.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

2 2862
Q:

Where can an advertiser change the location targeting of an ad?

Answer

Location targeting is set at the campaign level.

Report Error

View answer Workspace Report Error Discuss

1 2862
Q:

What is the world’s oldest surviving republic?

Answer

San Marino

Report Error

View answer Workspace Report Error Discuss

Subject: World History

5 2862
Q:

Lala lajapathi rai is the author of the book

A) India Divided B) Hind Swaraj
C) Unhappy India D) Mother India
 
Answer & Explanation Answer: C) Unhappy India

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 2861
Q:

'Sphinx' is associated with which of the following civilizations?

A) Egyptian Civilization B) Arab Civilization
C) Chinese Civilization D) Roman Civilization
 
Answer & Explanation Answer: A) Egyptian Civilization

Explanation:

The 'sphinx' is a mythological animal with the body of a lion and the head of man. Each Sphinx was carved out of a single solid stone.

Report Error

View Answer Report Error Discuss

Filed Under: World History

0 2860
Q:

Which of the following is not a monotheistic religion?

A) Hinduism B) Christianity
C) Islam D) Sikhism
 
Answer & Explanation Answer: A) Hinduism

Explanation:

Monotheism is the belief in a single all-powerful god, as opposed to religions that believe in multiple gods.

Sikhism, Judaism, Christianity, and Islam are widely practiced forms of monotheism.

Report Error

View Answer Report Error Discuss

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

5 2860