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

Who wanted economic freedom with political freedom?

A) Swami Sahajanand Saraswati B) Swami Vivekanand
C) Swami Ramanand D) Swami Dayanand saraswati
 
Answer & Explanation Answer: A) Swami Sahajanand Saraswati

Explanation:
Report Error

View Answer Report Error Discuss

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

7 4431
Q:

Who will be awarded The Jnanpith Award for the year 2017?

A) Krishna Sobti B) Vikas Singh
C) Rohim Khan D) Sunita Verma
 
Answer & Explanation Answer: A) Krishna Sobti

Explanation:

Hindi writer Krishna Sobti has been chosen for this years Jnanpith Award for her contribution to Indian Literature. This is 53rd Jnanpith Award for India.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO , IT Trainer

14 4430
Q:

Which city has topped the list of most expensive cities for expatriates, according to Mercer’s 2017 Cost of Living Survey  ?

A) Zurich B) Launda
C) Germany D) Toyko
 
Answer & Explanation Answer: B) Launda

Explanation:

Luanda, the capital of Angola, has topped the list of most expensive cities for expatriates, according to Mercer’s 23rd annual Cost of Living Survey. Hong Kong has acquired 2nd position, followed by Tokyo, Zurich, Singapore, Seoul and Geneva. From India, Mumbai is the most expensive city for expatriates that has ranked 57th on the list, followed by New Delhi (99), Chennai (135), Bangalore (166) and Kolkata (184). The Mercer’s survey includes 209 cities across five continents. The world’s least expensive cities for expatriates, according to Mercer’s survey, are Tunis (209), Bishkek (208) and Skopje (206). Mercer’s authoritative survey is one of the world’s most comprehensive, and is designed to help multinational companies and governments determine compensation allowances for their expatriate employees.

Report Error

View Answer Report Error Discuss

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

10 4430
Q:

 The first step in database development is which of the following?

A) Enterprise data modeling B) Logical database design
C) Physical database design and definition D) Database Implementation
 
Answer & Explanation Answer: A) Enterprise data modeling

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 4430
Q:

The Salal project is on the river

A) Ravi B) Sutlej
C) Ganges D) Chenab
 
Answer & Explanation Answer: D) Chenab

Explanation:

The_Salal_project_is_on_the_river1561015286.jpg image

The Salal project or Dam also known as Salal Hydroelectric Power Station, is a run-of-the-river power project on the Chenab River in the Reasi district of the Indian state of Jammu and Kashmir.

Report Error

View Answer Report Error Discuss

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

16 4430
Q:

World’s first oil paintings have been found in which of the following countries ? 

A) China B) Afghanistan
C) India D) Pakistan
 
Answer & Explanation Answer: B) Afghanistan

Explanation:

In Afghanistan, Bamiyan caves.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT

10 4429
Q:

Name the processor lines of two major manufacturer?

Answer

High-end: Intel - Pentium (II, III, 4) AMD - Athlon. Low-end: Intel - Celeron, AMD - Duron. 64-bit: Intel - Itanium 2, AMD - Opteron.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 4428