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

Which article of the Indian Constitution deals with the creation of All India Services?

A) 315 B) 313
C) 312 D) 311
 
Answer & Explanation Answer: C) 312

Explanation:

312-Article of the Indian Constitution deals with the creation of All India Services.

Report Error

View Answer Report Error Discuss

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

2 3458
Q:

Which of the following is NOT a constitutional body?

A) National Advisory Council B) Law Commission
C) Election Commission D) Finance Commission
 
Answer & Explanation Answer: A) National Advisory Council

Explanation:

National Advisory Council is NOT a constitutional body.

 

The National Advisory Council (NAC) of India was an advisory body set up by the first United Progressive Alliance (UPA) government to advise the Prime Minister of India.

Report Error

View Answer Report Error Discuss

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

2 3457
Q:

The Largest country of the World by Geographical Area is

A) China B) United States of America
C) Russia D) Australia
 
Answer & Explanation Answer: C) Russia

Explanation:

Russia is the Largest country of the World by Geographical Area.

 

Top 10 largest countries of the World :

1. Russia

2. Canada

3. United States of America

4. China

5. Brazil

6. Australia

7. India

8. Argentina

9. Kazakhstan

10. Algeria

 

When all 10 of the world's largest countries are taken together, they total 49% of the earth's entire 149 million square kilometres of land.

Report Error

View Answer Report Error Discuss

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

3 3457
Q:

Nav Mangalore port located on the bank of which river?

A) Gurupura B) Sharavati
C) Kaveri D) Kumaradhara
 
Answer & Explanation Answer: A) Gurupura

Explanation:

Panambur is the site of seaport called Nav Mangalore port or New Mangalore Port. It is located to the north of the Gurupura river confluence with the Arabian Sea.

Report Error

View Answer Report Error Discuss

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

2 3457
Q:

National Dairy Research Institute is located at

A) Ludhiana B) Karnal
C) Pantnagar D) Hyderabad
 
Answer & Explanation Answer: B) Karnal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

4 3457
Q:

The United Nation declared 2005-2015 as the International Decade for

A) Water for Life Decade B) Bone and Joint Decade
C) Second International Decade for the Eradication of colonialism D) International Decade for Natural Disaster Rreduction
 
Answer & Explanation Answer: A) Water for Life Decade

Explanation:
Report Error

View Answer Report Error Discuss

0 3456
Q:

What is the use of MAU?

Answer

In token Ring , hub is called Multistation Access Unit(MAU).

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 3456