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

What is seismic zone extending at an angle of about 45o from the base of an ocean trench, down through lithosphere to the asthenosphere known as?

A) Appleton layer B) Benioff zone
C) Conard discontinuity D) Convergence zone
 
Answer & Explanation Answer: B) Benioff zone

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 3015
Q:

Project Management - Introduction

What is Project Management?

Answer

Project Management is the application of Knowledge, skills, tools and techniques to project activities to meet project requirements. Project Management is accomplished through the application and integraton of the project management processes of  initiating, planning, executing, monitoring and controlling , closing.

Report Error

View answer Workspace Report Error Discuss

0 3015
Q:

A symbol that represents a speech sound

A) Phonemes B) Grapheme
C) Phonics D) None of the above
 
Answer & Explanation Answer: B) Grapheme

Explanation:
Report Error

View Answer Report Error Discuss

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

1 3015
Q:

Browning of paper in old books is caused by

A) oxidation of cellulose B) collection of dust
C) frequent use D) lack of aeration
 
Answer & Explanation Answer: A) oxidation of cellulose

Explanation:
Report Error

View Answer Report Error Discuss

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

1 3015
Q:

Which tennis player has authored a book titled "Unstoppable : My Life So Far" ?

A) Serena Williams B) Maria sharapova
C) Sania Mirza D) Venus Williams
 
Answer & Explanation Answer: B) Maria sharapova

Explanation:
Report Error

View Answer Report Error Discuss

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

5 3013
Q:

_______ is the largest city in South Africa and very famous for goldmines.

A) Cape Town B) Johannesburg
C) Kimberley D) Durban
 
Answer & Explanation Answer: B) Johannesburg

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

4 3013
Q:

Which of the following investment choices is least risky?

A) Renting B) Bonds
C) Flipping D) CD's
 
Answer & Explanation Answer: D) CD's

Explanation:

CDs are the least risky investment choice when compared to flipping, renting and bonds.

A certificate of deposit (CD) is a savings certificate with a fixed maturity date, specified fixed interest rate and can be issued in any denomination aside from minimum investment requirements. A CD restricts access to the funds until the maturity date of the investment. CDs are generally issued by commercial banks.

CDs are issued by the bank and are guaranteed by the government. So even if the bank goes bankrupt the investor's money is guaranteed to a certain extent.

Flipping and renting are subjected to market fluctuations while bonds are not insured.

 

Report Error

View Answer Report Error Discuss

Filed Under: Finance
Exam Prep: Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 3013