Questions

Q:

In the following code in which order the functions would be called?

a = ( f1 ( 23,14 ) * f2 ( 12/4) ) + f3() ;

Answer

The order may vary from compiler to compiler.


Here the multiplication will happen before the addition , but in which order the functions would be called is undefined. In an arithmetic expression the parentheses tell the compiler which operands go with which operators but do not force the compiler to evaluate everything within the parentheses first.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2129
Q:

What year was the first Oscar Awards ceremony held?

A) 1945 B) 1929
C) 1931 D) 1954
 
Answer & Explanation Answer: B) 1929

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2129
Q:

Term ‘Visible Horizon’ in astronomy is defined as:-

A) The circle of contact of the earth and the cone of visual rays passing through the meridian of the place. B) The circle of contact of the earth and the cone of visual rays not passing through the meridian of the place.
C) The circle of contact of the earth and the cone of visual rays passing through the point of observation. D) The circle of contact of the earth and the cone of visual rays not passing through the point of observation.
 
Answer & Explanation Answer: C) The circle of contact of the earth and the cone of visual rays passing through the point of observation.

Explanation:

Visible Horizon is the circle of contract, with the earth, of the cone of visual rays passing through the point of observation.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

0 2129
Q:

Improve the bracketed part of the sentence.
Neha (would be looked) beautiful in Indian attire.

A) had looking B) was looked
C) would look D) No improvement
 
Answer & Explanation Answer: C) would look

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2129
Q:

Which country declared sugarcane juice as 'National drink'?

A) Indonesia B) Afghanistan
C) Pakistan D) India
 
Answer & Explanation Answer: C) Pakistan

Explanation:

The country Pakistan declared sugarcane juice as 'National drink'.

Report Error

View Answer Report Error Discuss

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

3 2128
Q:

The idea of cache memory is based on___.

A) on the heuristic 90-10 rule B) on the property of locality of reference
C) on the fact that references generally tend to cluster D) All options are correct
 
Answer & Explanation Answer: B) on the property of locality of reference

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

14 2128
Q:

Select the antonym of
therapeutic

A) ameliorative B) analeptic
C) salubrious D) inimical
 
Answer & Explanation Answer: D) inimical

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT

0 2128
Q:

Improve the bracketed part of the sentence.
I don't want an award (for help to you).

A) to have helped you B) for helping you
C) for helping to you D) no improvement
 
Answer & Explanation Answer: B) for helping you

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2128