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

The Mode of nutrition in which particulate food is devoured is 

A) holozoic B) holophytic
C) saprophytic D) Parasitic
 
Answer & Explanation Answer: A) holozoic

Explanation:

The feeding mechanism is of several types. If it is entirely plant-like (photosynthesis),it is called holophytic. It is entirely (holo) animal-like (zoic), that is devouring already existing food, it is called holozoic.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

2 3472
Q:

The process that takes place in the atom bomb is

A) nuclear fusion B) nuclear fission
C) radioactive disintegration D) chemical decomposition
 
Answer & Explanation Answer: B) nuclear fission

Explanation:

In the atom bomb, isotopes of uranium are  disintegrated with the release of a large amount of energy. Hence, the process is nuclear fission.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

1 3472
Q:

Which of the following harmone is called the emergency harmone ?

A) Insulin B) Adrenaline
C) Estrogen D) Oxytocin
 
Answer & Explanation Answer: B) Adrenaline

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

5 3470
Q:

Sponges are most accurately described as

A) marine predators B) chemoautrophs
C) filter feeders D) freshwater scavengers
 
Answer & Explanation Answer: C) filter feeders

Explanation:
Report Error

View Answer Report Error Discuss

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

3 3469
Q:

Guess the Number which satisfies the Logic behind  ?

19598473_1350724051701362_1674607166262979020_n1499318579.jpg image

A) 7 B) 14
C) 10 D) 19
 
Answer & Explanation Answer: C) 10

Explanation:

Adding the corresponding numbers in first and last figures gives the corresponding number in the middle figure.

i.e, 4 + 3 = 7

13 + 2 = 15

2 + 4 = 6

9 + 1 = 10

Report Error

View Answer Report Error Discuss

Filed Under: Number Puzzles
Exam Prep: AIEEE , Bank Exams
Job Role: Bank Clerk

10 3469
Q:

Full-service airline Jet Airways has announced a partnership with ride-hailing app ________ to book airport cabs through the Jet Airways app itself in 2017.

A) Bookmycab B) Dot cabs
C) Meru D) Uber
 
Answer & Explanation Answer: D) Uber

Explanation:

Full-service airline Jet Airways has announced a partnership with ride-hailing app Uber to book airport cabs through the Jet Airways app itself. The airline will partner Uber and facilitate travel from the airport once a passenger has booked a ticket on the Jet Airways app.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT
Job Role: Bank PO

1 3469
Q:

"Indo - ________" joint army exercise 'Prabal Dostyk 2017' has started in Himachal Pradesh.

A) Kazakhstan B) Japan
C) Sri Lanka D) Nepal
 
Answer & Explanation Answer: A) Kazakhstan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank Clerk

14 3468