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

When is the World's No Tobacco day(WNTD) celebrated?

A) 31 may 2013 B) 27 august 2013
C) 16 october 2013 D) 11 july 2013
 
Answer & Explanation Answer: A) 31 may 2013

Explanation:

According to World Health Organisation World's Anti-Tobacco day was observed on 31 may 2013.This worked on a Objective of Ban Tobacco advertising,promotion and Sponsership

Report Error

View Answer Report Error Discuss

4 3970
Q:

The office of  the UN general Assembly is in

A) Vienna B) Paris
C) Newyork D) Zurich
 
Answer & Explanation Answer: C) Newyork

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

4 3969
Q:

Nobel Prize is established in  ?

A) 1931 B) 1911
C) 1901 D) 1951
 
Answer & Explanation Answer: C) 1901

Explanation:
Report Error

View Answer Report Error Discuss

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

8 3969
Q:

Where is the sheet number on a map found?

Answer

The sheet number on the map is found in bold print in both the upper right and lower left areas of the margin.

Report Error

View answer Workspace Report Error Discuss

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

1 3968
Q:

What happens when HLT instruction is executed in processor?

Answer

The Micro Processor enters into Halt-State and the buses are tri-stated. 

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3965
Q:

AirAsia India has recently granted flying licence by DGCA to launch its low - cost airline in india. It is related to which of the following countries?

A) Philippines B) China
C) Malaysia D) Singapore
 
Answer & Explanation Answer: C) Malaysia

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 3965
Q:

Hormones are chemicals secreted and regulated by the endocrine system.

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

Explanation:

True. Hormones are chemicals secreted and regulated by the endocrine system.

Report Error

View Answer Workspace Report Error Discuss

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

4 3964