Questions

Q:

Rearrange the parts of the sentence in correct order.

 

Private companies are

 

P : exploiting groundwater

Q : resources in India

R : due to outdated law

 

A) QPR B) PQR
C) RPQ D) PRQ
 
Answer & Explanation Answer: B) PQR

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 8442
Q:

What would be the output of the following program?

main()

{

    extern int fun ( float );

    int a;

    a = fun ( 3. 14 );

    printf ("%d", a);

}

int fun ( aa )

float aa ;

{

     return ( (int) aa );

}

Answer

Error occurs because we have mixed the ANSI prototype with K & R style of function definition.


When we use ANSI prototype for a function and pass a float to the function it is promoted to a double. When the function accepts this double into a float a type mismatch occurs hence the error.


The remedy for this error could be to define the function as :


int fun (float aa)


{


  ....


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

9 8434
Q:

Among the following States, which one was formed last

A) Andhra Pradesh B) Gujarat
C) Karnataka D) Punjab
 
Answer & Explanation Answer: A) Andhra Pradesh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

12 8433
Q:

Which of the following element is NOT a metal?

 

A) Al   B) P  
C) Ca D) K
 
Answer & Explanation Answer: B) P  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams

1 8431
Q:

Tochi, Gilgit and Hunza are tributaries of

A) Ganga B) Indus
C) Brahmaputra D) Yamuna
 
Answer & Explanation Answer: B) Indus

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

19 8430
Q:

If Theresa's daughter is my daughter's mother, what am I to Theresa?

A) Son-in-law B) Daughter-in-law
C) Grand mother D) Grand Daughter
 
Answer & Explanation Answer: A) Son-in-law

Explanation:

Given that If Theresa's daughter is my daughter's mother

It has 2 ways of Answers such that it depends on the sex of me. That is Male or Female.

 

1) If I am a Male :

My daughter's mother is my wife.

My wife is Teresa's daughter

=> I am Teresa's Son-in-law.

 

2) If I am a Female :

My daughter's mother is myself.

Myself Teresa's daughter.

=> I am Teresa's Daughter.

 

But in the given options only Son-in-law is available and daughter is not given.

 

So, Son-in-law is correct.

Report Error

View Answer Report Error Discuss

25 8429
Q:

Ujjain is situated on the banks of which river?

 

A) Narmada B) Tawa
C) Tapi D) Shipra
 
Answer & Explanation Answer: D) Shipra

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

3 8426
Q:

An objective of the National Food Security Mission is to increase the production of certain crops through area expansion and productivity enhancement in a sustainable manner in the identified districts of the country. What are those crops?

A) Rice and Wheat only B) Rice, Wheat and pulses only
C) Rice, Wheat, Pulses and oil seeds only D) Rice, Wheat, Pulses, oil seeds and vegetables
 
Answer & Explanation Answer: B) Rice, Wheat and pulses only

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

8 8425