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

The most imposing of all the pyramids is the Great Pyramid at Gizeh near Cairo, was built about 2650 B.C by the ____ of the Old kingdom.

A) Pharaoh Cheops (Khufu) B) King Tutankhamen
C) Hammunrabi D) None of these
 
Answer & Explanation Answer: A) Pharaoh Cheops (Khufu)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

0 3751
Q:

Where does glucose breaks down into pyruvate?

 

A) Golgi bodies B) Cytoplasm
C) Chloroplast D) Protoplasm
 
Answer & Explanation Answer: B) Cytoplasm

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

2 3751
Q:

Group of birds flying together is called Startling.

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

Explanation:

A Group of birds or a flock flying together in hundreds or even in thousands is called Murmuration.

Report Error

View Answer Workspace Report Error Discuss

Subject: Animals and Birds
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

6 3750
Q:

What is one way to limit a user's access to only a specific number of accounts in the MCC?

Answer

Create a new MCC account linked to the original MCC account. Move the specified number of accounts into that MCC and grant the user access to the sub-MCC account.

Report Error

View answer Workspace Report Error Discuss

9 3750
Q:

Which state has launched an outreach programme called ‘Duare Sarkar’?

 

A) Assam B) Odisha
C) Chhattisgarh D) West Bengal
 
Answer & Explanation Answer: D) West Bengal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

2 3748
Q:

' Ashoka Chakra ' is awarded for 

A) Outstanding contribution to literature B) Gallantry by children
C) Acts of gallantry in the presence of the enemy D) Acts most conspicuous bravery of self saccrifice on land, air or sea but not in the presence of the enemy
 
Answer & Explanation Answer: D) Acts most conspicuous bravery of self saccrifice on land, air or sea but not in the presence of the enemy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

3 3746
Q:

What is the RST for the TRAP?

Answer

RST 4.5 is called as TRAP.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 3746