Questions

Q:

What is the difference between malloc() and calloc() functions?

Answer

As against malloc(), calloc() needs two arguments, the number of elements  to be allocated and the size of each element. For example,


 p = (int *) calloc (10, sizeof (int));


would allocate space for a 10- integer array. Additionally, calloc() would also set each of this element with a value 0.


Thus the above call to calloc() is equivalent to:


p = (int *) malloc (10 * sizeof (int));


memset (p, 0, 10 * sizeof( int ));

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 4133
Q:

Which of the following bank has recently launches a special edition ' Cricket Credit Card' in association with IPL franchise Delhi Daredevils?

A) Yes Bank B) Federal Bank
C) Ratnakar Bank Limited D) Kotak Mahindra Bank
 
Answer & Explanation Answer: C) Ratnakar Bank Limited

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 4133
Q:

Which of the following is the headquarters of UNEP (United Nations Environment Programme)?

A) The Hague B) New York
C) Nairobi D) Vienna
 
Answer & Explanation Answer: C) Nairobi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 4132
Q:

Who acted as the Prime minister of India immediately on the death
of Jawaharlal Nehru ?

A) Mrs Indira Gandhi B) Gulzari Lal Nanda
C) TT Krishnamachari D) Lal Bahadur Shastri
 
Answer & Explanation Answer: B) Gulzari Lal Nanda

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

9 4131
Q:

Where is the Longest Railway bridge located?

A) America B) Africa
C) Europe D) Malashiya
 
Answer & Explanation Answer: B) Africa

Explanation:

Longest railway bridge (Lower Zambesi ) is located in Africa

Report Error

View Answer Report Error Discuss

14 4131
Q:

In which one among the following districts is the highest point of Eastern Ghats located?

A) Ganjam B) Visakhapatnam
C) Kurnool D) North Arcot
 
Answer & Explanation Answer: B) Visakhapatnam

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

10 4131
Q:

Lead caulked joints are used for laying

A) Earthern ware pipes B) G.I. pipes
C) Stone ware pipes D) C.I. pipes
 
Answer & Explanation Answer: A) Earthern ware pipes

Explanation:

Lead caulked joints are used for laying Earthern ware pipes.

 

Lead_caulked_joints_are_used_for_laying1552108595.jpg image

 

Earthenware is fired at 1900 degrees Fahrenheit, much lower than stoneware. The result is porous pottery that is not as strong as stoneware or porcelain pottery pieces and is cheaper than stoneware.

Report Error

View Answer Report Error Discuss

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

1 4130
Q:

Which Company is the biggest player in the microprocessor industry  ?

A) AMD B) IBM
C) Motorola D) Intel
 
Answer & Explanation Answer: D) Intel

Explanation:
Report Error

View Answer Report Error Discuss

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

19 4129