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

The amount of Matter in an Object is

A) Weight B) Mass
C) Volume D) Space
 
Answer & Explanation Answer: B) Mass

Explanation:

Mass means the amount of matter in an object. Anything that has Mass and takes up Space is called Matter.

 

The Study of Matter and and how matter changes is called Chemistry.

 

Matter has some mass and occupies some space. Space occupied by an object is called its Volume.

Report Error

View Answer Report Error Discuss

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

4 4583
Q:

The Biggest cause of Foodborne Illness is

A) Poor Hygiene B) Toothpick
C) Employee snacking D) Virus
 
Answer & Explanation Answer: A) Poor Hygiene

Explanation:

The Biggest cause of Foodborne Illness is Poor Personal Hygiene.

Foodborne Illness is caused by consuming contaminated foods or beverages. Many different disease-causing microbes or pathogens can contaminate foods, so there are many different types of foodborne illnesses.

Report Error

View Answer Report Error Discuss

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

7 4583
Q:

The Jigme Dorji National Park is located in which country  ?

A) Myanmar B) Bhutan
C) India D) Nepal
 
Answer & Explanation Answer: B) Bhutan

Explanation:

The Jigme Dorji National Park is the second-largest National Park of Bhutan. The park provides sanctuary for 37 known species of mammals including several endangered, threatened or vulnerable species, such as the takin, snow leopard, clouded leopard, Bengal tiger, bharal or Himalayan blue sheep, etc. It is also home to the Indian leopard, serow, sambar, barking deer, goral, marmot, pika and more than 300 species of birds. It is also the only park in Bhutan where the national animal (takin), flower (blue poppy), bird (raven) and tree (cypress) exist together.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk

5 4582
Q:

What is the principle carbohydrate of milk?

A) Fructose B) Sucrose
C) Lactose D) Galactose
 
Answer & Explanation Answer: C) Lactose

Explanation:

Lactose is the major carbohydrate in the milk of most species.

 

Lactose is a disaccharide composed of the monosaccharides D-glucose and D-galactose, joined in a ß-1,4-glycosidic linkage. The chemical name for lactose is 4-0-ß-D-galactopyranosyl-D-glucopyranose.

Report Error

View Answer Report Error Discuss

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

6 4581
Q:

When the nucleus of  Uranium is bombarded with neutrons, it breaks up into two nuclei of nearly equal mass. this process is called

A) nuclear fission B) nuclear fusion
C) physical change D) artificial radioactivity
 
Answer & Explanation Answer: A) nuclear fission

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

2 4581
Q:

Which is not associated with areas of karst topography?

A) flowing rivers B) sinkholes
C) sinking streams D) caverns
 
Answer & Explanation Answer: A) flowing rivers

Explanation:

A karst topography is that which composes of limestone and its associated features and structures. Karst topography and caves develop in limestone rocks due to their solubility in dilute acidic groundwater. The solubility of limestone in water and weak acid solutions leads to karst landscapes.

 

Flowing rivers, can be found in areas away from karst topography.

Report Error

View Answer Report Error Discuss

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

17 4581
Q:

A column defined as UNIQUE can contain Nulls while a column defined as PRIMARY KEY can't contain Nulls

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Because a table can have only one primary key

Report Error

View Answer Workspace Report Error Discuss

1 4580