Questions

Q:

How would you free the memory allocated by the following program?

#include "alloc.h"

#define MAXROW 3

#define MAXCOL 4

main()

{

     int **p, i;

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

      for ( i = 0; i < MAXROW ; i++)

            p[i] = (int *) malloc (MAXCOL * sizeof (int ));

}

Answer

for ( i=0; i < MAXROW ; i++)


free (p[i]);


free (p);

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 4018
Q:

What is CPC  ?

A) Central Person scheme B) Central Pay commission
C) Central Paid determination D) Central Pay scheme
 
Answer & Explanation Answer: B) Central Pay commission

Explanation:
Report Error

View Answer Report Error Discuss

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

6 4018
Q:

The rate of heartbeat is accelerated by the harmone

A) adrenaline B) acetylcholine
C) thyroxine D) pituitrin
 
Answer & Explanation Answer: A) adrenaline

Explanation:

The hormone adrenaline also called epinephrine is known as a stress harmone. In emotional upset (like fear, anger etc.) this harmone is poured into the blood and it accelerates heart beat. The hormone acetylcholine decelerates heartbeat rate.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

10 4018
Q:

What is the capital of Greece?

A) Roseau B) Malabo
C) Athens D) None
 
Answer & Explanation Answer: C) Athens

Explanation:

Athens is the capital of Greece

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

18 4017
Q:

What do you call a bear without an ear?

Answer

Given BEAR, if you remove EAR only remains with 'B'.


 


Hence, we call it as 'B', a bear without an ear.

Report Error

View answer Workspace Report Error Discuss

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

11 4017
Q:

The Mughals ruled India for one and half centuries effectively and gave Political unity to the country. In which of the following fields could they not succeed fully?

A) An efficient system of administration B) Political stability
C) Development of trade and industry D) Establishment of a common culture and unification of all communities to become a homogeneous nation
 
Answer & Explanation Answer: D) Establishment of a common culture and unification of all communities to become a homogeneous nation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

1 4015
Q:

Localized area of pus formation in the lungs is

A) Pulmonary embolism B) Pulmonary abscess
C) Pleurisy D) Pulmonary edema
 
Answer & Explanation Answer: B) Pulmonary abscess

Explanation:

Pulmonary abscess is a type of liquefactive necrosis of the lung tissue. 

 

 localized_area_of_pus_formation_in_the_lungs1537941339.jpg image

 

Hence, Localized area of pus formation in the lungs is Pulmonary abscess.

Report Error

View Answer Report Error Discuss

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

4 4015
Q:

Which of the properties of the element is a whole number

A) atomic mass B) atomic number
C) atomic radius D) atomic volume
 
Answer & Explanation Answer: B) atomic number

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

5 4015