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

What do you call a bear without an ear?

Answer

Given BEAR, if you remove EAR only remains with 'B'.


 


Hence, we call it as 'B', a bear without an ear.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

11 4016
Q:

Which of the properties of the element is a whole number

A) atomic mass B) atomic number
C) atomic radius D) atomic volume
 
Answer & Explanation Answer: B) atomic number

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

5 4015
Q:

The rate of heartbeat is accelerated by the harmone

A) adrenaline B) acetylcholine
C) thyroxine D) pituitrin
 
Answer & Explanation Answer: A) adrenaline

Explanation:

The hormone adrenaline also called epinephrine is known as a stress harmone. In emotional upset (like fear, anger etc.) this harmone is poured into the blood and it accelerates heart beat. The hormone acetylcholine decelerates heartbeat rate.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

10 4015
Q:

Which Bank has topped the list of the country’s top 50 brands, according to WPP’s BrandZ Top 50 report 2017 ?

A) ICICI Bank B) SBI Bank
C) Kotak Mahindra Bank D) HDFC Bank
 
Answer & Explanation Answer: D) HDFC Bank

Explanation:

HDFC Bank retains No. 1 rank in BrandZ India Top 50 for third year running BRANDZ TOP 50 REPORT. The BrandZ Top 50 Most Valuable Indian Brands ranking shows locally grown Indian brands increased 32% in value over three years. Airtel came in at No. 2 followed by State Bank of India at No. 3. The highest ranked new entrant on the list is Reliance Jio, at No.11.

The BrandZ Top 50 Most Valuable Indian Brands report showed that the total value of India’s top brands has risen by 30% over the last three years. The top 50 brands are now worth $90.5 billion.

Report Error

View Answer Report Error Discuss

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

8 4014
Q:

What is the capital of Greece?

A) Roseau B) Malabo
C) Athens D) None
 
Answer & Explanation Answer: C) Athens

Explanation:

Athens is the capital of Greece

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

18 4013
Q:

Which among the following is the resting place of Morarji Desai?

A) Abhay Ghat B) Ekta Sthal
C) Shakti Sthal D) Vijay Ghat
 
Answer & Explanation Answer: A) Abhay Ghat

Explanation:

The resting place of Morarji Desai is Abhay Ghat.

Report Error

View Answer Report Error Discuss

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

9 4013
Q:

The Mughals ruled India for one and half centuries effectively and gave Political unity to the country. In which of the following fields could they not succeed fully?

A) An efficient system of administration B) Political stability
C) Development of trade and industry D) Establishment of a common culture and unification of all communities to become a homogeneous nation
 
Answer & Explanation Answer: D) Establishment of a common culture and unification of all communities to become a homogeneous nation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

1 4012