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

Name another word for friend?

A) playfellow B) enemy
C) rival D) foe
 
Answer & Explanation Answer: A) playfellow

Explanation:

Friend is a person with whom one has a bond of mutual affection, typically one exclusive of sexual or family relations.

 

Other names for friend are mate, bosom friend, classmate, buddy, ally,...

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

11 4022
Q:

Reuptake refers to the

A) reabsorption of excess neurotransmitter molecules by a sending neuron B) release of hormones into the bloodstream
C) movement of neurotransmitter molecules across a synaptic gap D) inflow of myelin through an axon membrane
 
Answer & Explanation Answer: A) reabsorption of excess neurotransmitter molecules by a sending neuron

Explanation:

Reuptake refers to the process in the brain of neurons to retrieve chemicals that were not received by the next neuron. Neurons are cells in the brain that have miniscule spaces between them. They communicate with each other by sending chemicals across the space to the next neuron.

Report Error

View Answer Report Error Discuss

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

2 4021
Q:

Answer the Following Puzzle.

Number Puzzles Questions and Answers

A) 16 B) 13
C) 97 D) 56
 
Answer & Explanation Answer: B) 13

Explanation:

In each circle, starting at the  top left segment ,numbers increase, as you move clockwise,by 2 for the upper left circle,3 for the upper right, 4 for the lower right and 5 for the lower left

Report Error

View Answer Report Error Discuss

Filed Under: Number Puzzles

8 4021
Q:

A linear-shaped lowland between highlands or mountain ranges created by the action of a geologic rift or fault is called?

Answer

rift valley

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

0 4020
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 4020
Q:

Technology giant Microsoft's India-born CEO ___________ has written his first book "Hit Refresh".

A) Satya Nadella B) Indra Nooyi
C) Kiran Mazumdar D) Sundar Pichai
 
Answer & Explanation Answer: A) Satya Nadella

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

10 4015
Q:

Every year " National Maritime Day of India " is observed on

A) 1st April B) 2nd Aril
C) 4th April D) 5th April
 
Answer & Explanation Answer: D) 5th April

Explanation:

National Maritime Day of India is observed every year on 5th April. On this day in 1919, S S Loyalty, the first ship of the Scindia Steam Navigation Company, journeyed to the United Kingdom.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: Bank Exams

5 4014