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

Who gave the slogan Bharat Chhodo during the Quit India movement?

A) Gandhi B) Yusuf Meher Ali
C) Nehru D) Aruna Asif Ali
 
Answer & Explanation Answer: A) Gandhi

Explanation:

Mohandas Karamchand Gandhi gave the slogan Bharat Chhodo during the Quit India movement.

Report Error

View Answer Report Error Discuss

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

20 4029
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 4029
Q:

Which monument is known as "The National Monument of India"?

A) India Gate B) Gateway of India
C) Raj Ghat D) Red fort
 
Answer & Explanation Answer: A) India Gate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

7 4028
Q:

Which of the following is true of kinetochores?

A) They are the primary centrosome structures that maintain the attachment of the sister chromatids prior to mitosis. B) They are the sites at which microtubules attach to chromosomes.
C) They are located at the center of the centrosome and organize tubulin into spindle fibers. D) They cross at the cell's equator and move against each other, causing the cell to elongate.
 
Answer & Explanation Answer: B) They are the sites at which microtubules attach to chromosomes.

Explanation:

They are the sites at which microtubules attach to chromosomes.

Report Error

View Answer Report Error Discuss

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

2 4027
Q:

Improving muscular strength and endurance slows bone density loss.

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

Explanation:

2928muscle_strength1540977766.jpg image


Improving muscular strength and endurance slows bone density loss.

Report Error

View Answer Workspace Report Error Discuss

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

0 4027
Q:

Which Soil is Suitable for Agriculture?

A) Alluvial Soils B) Red Soils
C) Sandy Soils D) Peaty Soils
 
Answer & Explanation Answer: A) Alluvial Soils

Explanation:

1. Each type of soil benefits different types of crops through their unique physical, chemical and biological properties.

 

2. Alluvial Soils are best suitable for Agriculture. This soil is a fertile soil which is rich in potassium.

 

3. It is best especially for crops such as paddy, sugarcane,...

Report Error

View Answer Report Error Discuss

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

16 4026
Q:

Plants that grow in Saline Water are called

A) Sciophytes B) Bryophytes
C) Halophytes D) Hydrophytes
 
Answer & Explanation Answer: C) Halophytes

Explanation:

Plants that grow in Saline Water are called Halophytes.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO , Database Administration

12 4026