Questions

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 8941
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 8928
Q:

Which company has overtaken Oil and Natural Gas Corp (ONGC) to become India’s most profitable state-owned company  ?

A) Indian Oil Corporation B) SAIL
C) Hindustan Petroleum D) GAIL
 
Answer & Explanation Answer: A) Indian Oil Corporation

Explanation:

Indian Oil Corp (IOC) has overtaken Oil and Natural Gas Corp (ONGC) to become India’s most profitable state-owned company. IOC, which has for decades been India’s biggest company by turnover, posted a 70 per cent jump in net profit to Rs 19,106.40 crore in the financial year ended March 31, 2017.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

15 8927
Q:

Secondary storage ________

A) does not require constant power B) does not use magnetic media
C) consists of four main types of devices D) does not store information for later retrieval
 
Answer & Explanation Answer: A) does not require constant power

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

18 8926
Q:

'World Diabetes Day' is observed on

A) August 4 B) August 1
C) July 29 D) June 27
 
Answer & Explanation Answer: D) June 27

Explanation:
Report Error

View Answer Report Error Discuss

17 8924
Q:

All variables in PHP start with which symbol?

A) % B) !
C) $ D) &
 
Answer & Explanation Answer: C) $

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming
Exam Prep: Bank Exams

38 8923
Q:

The Indus valley people traded with the

A) Chinese B) Mesopotamians
C) Parthians D) Romans
 
Answer & Explanation Answer: B) Mesopotamians

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

12 8918
Q:

In HTML, ___________ tag is used to construct drop-down list boxes and scrolling list boxes.

A) <SELECT> B) <OPTION>
C) <TEXTAREA> D) <INPUT>
 
Answer & Explanation Answer: A) <SELECT>

Explanation:
Report Error

View Answer Report Error Discuss

58 8912