Questions

Q:

Indicate what would the SWAP macro be expanded to on preprocessing. Would the code compile?

#define SWAP (a, b, c ) (c t; t = a, a = b, b = t; )

main()

{

    int x = 10, y = 20;

    SWAP (x, y, int );

    printf ( " %d%d ", x, y);

}

Answer

( int t ; t = a, a = b, b = t ;);


This code won't compile since declaration of t cannot occur within parentheses.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3098
Q:

Of outstanding significance

A) Ominous B) Monumental
C) Evident D) Rational
 
Answer & Explanation Answer: B) Monumental

Explanation:

The one word substitution for Of outstanding significance is monumental which has a meaning of great in importance, in size or any such characteristic.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

0 3098
Q:

The transfer of data from one application to another in a computer system is known as

A) Dynamic Data Exchange B) Dodgy Data Exchange
C) Dogmatic Data Exchange D) Dynamic Disk Exchange
 
Answer & Explanation Answer: A) Dynamic Data Exchange

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

2 3098
Q:

Frictional force acts in 

A) the same direction as the motion B) the opposite direction of the motion
C) all the directions D) upward direction
 
Answer & Explanation Answer: B) the opposite direction of the motion

Explanation:

It is to overcome this opposite frictional force , that  we have to apply the needed force to make the body move

Report Error

View Answer Report Error Discuss

Filed Under: Physics

3 3097
Q:

'New Horizons' spacecraft was launched by NASA to study which of the following planet ?

A) Earth B) Mercury
C) Pluto D) Venus
 
Answer & Explanation Answer: C) Pluto

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

4 3097
Q:

Which is Largest Stadium in the world?

Answer



Strahov Stadium in Praha,Czech Republic accommodation 240000 persons


 


 

Report Error

View answer Workspace Report Error Discuss

5 3097
Q:

Which of the following chemical compounds has the highest boiling point?

A) Dimethyl ether (CH3OCH3) B) Methanol (CH3OH)
C) Methane (CH4) D) None
 
Answer & Explanation Answer: B) Methanol (CH3OH)

Explanation:

Chemical Compounds with stronger intermolecular forces have higher boiling points.

 

The order of strengths of intermolecular forces is:

 London dispersion < dipole-dipole < H-bonding

 

Methane (CH4) — London dispersion forces

Dimethyl ether (CH3OCH3) — dipole-dipole attractions

Methanol (CH3OH) — hydrogen bonding

Therefore, Methanol - CH3OH with H-Bonding have highest Boiling Point among the given chemical compounds.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank PO

4 3097
Q:

Vikram Sarabhai Space Centre is located at

A) Thiruvananthapuram B) Pune
C) Sriharikota D) Ahmedabad
 
Answer & Explanation Answer: A) Thiruvananthapuram

Explanation:

Vikram Sarabhai Space Centre is located at Thiruvananthapuram, Kerala.

 

  • This is the lead centre of ISRO responsible for the design and development of launch vehicle technology focusing on rocket and space vehicles for India's satellite programme.
Report Error

View Answer Report Error Discuss

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

11 3096