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

Systems running more than one process concurrently are called ______________

A) Multiprocessing B) Multiprogramming
C) Real time D) Batch processing
 
Answer & Explanation Answer: B) Multiprogramming

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

4 4007
Q:

Study of fishes is called

A) Amphiology B) Phylumology
C) Zoology D) Ichthyology
 
Answer & Explanation Answer: D) Ichthyology

Explanation:

Ichthyology is the branch of biology devoted to the study of fish.

 

It is also known as Fish science which includes bony fishes (Osteichthyes), cartilaginous fish (Chondrichthyes), and jawless fish (Agnatha).

Report Error

View Answer Report Error Discuss

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

7 4006
Q:

Is Nitrogen an Inert gas?

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

Explanation:

Nitrogen is found as a diatomic molecule (N2) in nature. There is a triple bond between the two nitrogen atoms.


 


The triple bond is pretty strong. Therefore, it needs a lot of energy to break those bonds and participate in a reaction. So nitrogen is commonly referred to as and used as an inert gas (high abundance & low cost.) However, it’s not truly inert like most noble gases. Nitrogen does react if the conditions are met. But those conditions are not exactly mild, but are not as extreme as for noble gases.


 


It forms nitric oxide and nitrogen dioxide with oxygen, ammonia with hydrogen, and nitrogen sulfide with sulfur.

Report Error

View Answer Workspace Report Error Discuss

Subject: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 4006
Q:

What skills are important for a successful career in fashion design?

Answer

Designers have to either combine marketing intelligence and artistic vision themselves, or be able to delegate business duties to hired specialists, agents, etc. while they focus on the art.

Report Error

View answer Workspace Report Error Discuss

10 4005
Q:

How will you make customers feel welcome in our store?

Answer

Countless potential customers in retail shops go unnoticed every day. It is often this attitude of indifference that leads people to shop at other places. Make sure that you have a candidate that will meet and greet your customers. Interviewees, let your personality shine here. Let your interviewer know that you are not afraid to introduce yourself to customers, and that you will not be hiding in the back restocking something.

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

6 4005
Q:

Solve this Math puzzle?

math_number_puzzle1538999808.jpg image

A) 96 B) 88
C) 40 D) 19
 
Answer & Explanation Answer: A) 96

Explanation:

The given math puzzle follows a logic that,

1 + 4 = 5 => 1 x 4 + 1 = 5

2 + 5 = 12 => 2 x 5 + 2 = 12

3 + 6 = 21 => 3 x 6 + 3 = 21

 

Similarly,

8 + 11 = > 8 x 11 + 8 = 96.

Report Error

View Answer Report Error Discuss

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

9 4005
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 4004