Questions

Q:

How would you dynamically allocate a 2-D array of integers?

Answer

#include "alloc.h"


#define MAXROW 3


#define MAXcol 4


main()


{


        int *p, i, J;


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


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


         {


                for (j=0; j < MAXCOL ; j++)


                { 


                      p [ i * MAXCOL + j] = i;


                       printf ( "%d", p [i * MAXCOL + j] );


                 }


                  printf ("\n");


          }


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3257
Q:

What are the sub-components of I/O manager in Windows NT?

Answer

- Network redirector/ Server


- Cache manager.


- File systems


- Network driver


- Device driver

Report Error

View answer Workspace Report Error Discuss

0 3256
Q:

Which one of the following states/UTs of the country has more than 50% tribal population of the total population

A) Andaman and Nicobar Islands B) Dadra and Nagar Haveli
C) Himachal Pradesh D) Puducherry
 
Answer & Explanation Answer: B) Dadra and Nagar Haveli

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

1 3256
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 3256
Q:

Impulse conduction is fastest in neurons that are

A) Myelinated B) Motor
C) Unmyelinated D) Sensory
 
Answer & Explanation Answer: A) Myelinated

Explanation:

A myelinated nerve can be found int the brain or spinal cord as well as the peripheral nervous system, it is white and is surrounded by schwann cells or oligodendrocytes.

Report Error

View Answer Report Error Discuss

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

4 3254
Q:

In the structure of planet Earth ,below the mantle, the core is mainly made up of which one of the following

A) Aluminium B) Chrromium
C) Iron D) Silicon
 
Answer & Explanation Answer: C) Iron

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 3254
Q:

The force exerted by a magnet is an example of _________.

A) Non-contact force B) Muscular force
C) Contact force D) Electrostatic force
 
Answer & Explanation Answer: A) Non-contact force

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

14 3254
Q:

Prime Minister Narendra Modi has emerged as the most followed world leader on photo-sharing app Instagram with a whopping 6.9 million followers. Who was on second position in the list ?

A) Xi Jinping B) Vladimir Putin
C) Donald Trump D) Kim Jong-un
 
Answer & Explanation Answer: C) Donald Trump

Explanation:

Prime Minister Narendra Modi has emerged as the most followed world leader on photo-sharing app Instagram with a whopping 6.9 million followers, surpassing US President Donald Trump.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT

7 3252