Questions

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 8437
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 8436
Q:

Rearrange the parts of the sentence in correct order.

 

It is high time

P-­about the cost and
Q­-the government started thinking
R­-quality of power supply

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 8434
Q:

The famous book Kankal is authored by ?

A) Ketan Bhagat B) Mahesh Rao
C) Nirmal Verma D) Jaishankar Prasad
 
Answer & Explanation Answer: D) Jaishankar Prasad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams , CAT
Job Role: Bank PO

23 8433
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 8432
Q:

Fill in the blank with the most appropriate option.

 

Ethanol is denatured to ___.

 

A) make it unsuitable for drinking B) make it suitable for drinking
C) increase its stability D) make it suitable as an antiseptic
 
Answer & Explanation Answer: A) make it unsuitable for drinking

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams

1 8430
Q:

At which one of the following places do two important rivers of India originate;while one of them flows towards north and merges with another important river flowing towards Bay of Bengal, the other one flows towards Arabian Sea?

A) Amarkantak B) Badrinath
C) Mahabaleshwar D) Nasik
 
Answer & Explanation Answer: A) Amarkantak

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

16 8428
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