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

After the decline of the Chalukya kingdom of Kalyani at the close of the 12th and of the chola kingdom at the begining of the 13th century, the new kingdom which arose in South India were

A) Yadavas of Devagiri and Kakatiyas of Warangal B) Hoysalas of Dwarsamudra and Pandyas of Madurai
C) Vijayanagar and Bahamani kingdoms D) Both (a) and (b)
 
Answer & Explanation Answer: D) Both (a) and (b)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 3388
Q:

Transmission of stimuli from one part of body to other part takes place through __________

A) Muscular tissue B) Epithelium tissue
C) Connective tissue D) Nervous tissue
 
Answer & Explanation Answer: D) Nervous tissue

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

3 3388
Q:

Jewar airport is proposed to be developed in which state ? 

A) Madhya Pradesh B) Uttarakhand
C) Punjab D) Uttar Pradesh
 
Answer & Explanation Answer: D) Uttar Pradesh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 3388
Q:

 The Narasapur in West godavari district is renowned for which of the following crafts ?

A) Leather Puppetry B) Ikat
C) Crochet Lace D) Siver Filligri
 
Answer & Explanation Answer: C) Crochet Lace

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 3386
Q:

Who is author of the book 'Preparing for the Twenty First Century '

A) V.S.Naipaul B) John Ruskin
C) Paul Kennedy D) Henry Kissinger
 
Answer & Explanation Answer: C) Paul Kennedy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 3386
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 3383
Q:

What is the chemical name for vitamin A?

A) Retinol B) Riboflavin
C) Thiamine D) Niacin
 
Answer & Explanation Answer: A) Retinol

Explanation:

Vitamin A is a group of unsaturated nutritional organic compounds that includes retinol, retinal, retinoic acid, and several provitamin A carotenoids.

IUPAC Name :: (2E,4E,6E,8E)-3,7-dimethyl-9-(2,6,6-trimethylcyclohexen-1-yl)nona-2,4,6,8-tetraen-1-ol

 

Vitamin Name - Chemical Name

Vitamin A   -     Retinol

Vitamin B1  -    Thiamine

Vitamin B2  -    Riboflavin

Vitamin B3  -    Niacin

Vitamin B5  -    Pantothenic acid

Vitamin B6  -    Pyridoxin

Vitamin B7  -    Biotin

Vitamin B9  -    Folic acid

Vitamin B12  -   Cyanocobalamin

Vitamin C     -   Ascorbic acid

Vitamin D     -   Calciferol

Vitamin E      -   Tocoferol

Vitamin K      -   Phylloquinone and Menaquinones

Report Error

View Answer Report Error Discuss

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

5 3383