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

Search engines that search other search engines are called

A) Megasearch engine B) Metasearch engine
C) Betasearch engine D) Gigasearch engine
 
Answer & Explanation Answer: A) Megasearch engine

Explanation:

A search engine is a information retrieval program that constantly collects information on the Web, following links in Web sites and reading Web pages. The search results are presented in a list format and are called as hits.

A metasearch engine is a search tool that uses another search engine's data to produce its own results from the Internet. These engines take input from a user and simultaneously send out queries to third party search engines for results. It searches other search engines rather than individual Web sites.

 

Examples of Metasearch engine includes - Dogpile, Zoo, Yabado, Metager, etc...

 

Search_engines_that_search_other_search_engines_are_called1561526716.png image

 

Report Error

View Answer Report Error Discuss

4 2720
Q:

What is the Biggest Annual Net Loss?

Answer

AOL Time Warner (USA) reported an annual net loss of $98.7 billion on 30 January 2003.

Report Error

View answer Workspace Report Error Discuss

0 2719
Q:

The GPS device in an automobile uses which communication channel?

A) Satellite B) Microwave
C) Radio frequency D) Infrared
 
Answer & Explanation Answer: A) Satellite

Explanation:

All automobiles uses satellite communication channel for their GPS devices.

Report Error

View Answer Report Error Discuss

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

2 2719
Q:

I go in hard. I come out soft. You blow me hard.

What am I?

Answer

Gum.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: AIEEE , Bank Exams , CAT , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

1 2719
Q:

The Film which won the Best Picture Award at the IIFA Award 2014?

Answer

Bhaag Milkha Bhaag

Report Error

View answer Workspace Report Error Discuss

0 2718
Q:

In which city were the first Modern Olympics held and when ?

A) Athens 1896 B) Barcelona 1798
C) Munich 1968 D) Olympia 1698
 
Answer & Explanation Answer: A) Athens 1896

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

4 2717
Q:

The United Nations declared 2000-2010 as the International Decade for

A) Water for Life Decade B) Bone and Joint Decade
C) Second International Decade for the Eradication of colonialism D) International Decade for Natural Disaster Rreduction
 
Answer & Explanation Answer: B) Bone and Joint Decade

Explanation:
Report Error

View Answer Report Error Discuss

2 2716