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

Al Aziziyah, the hottest place on earth is located in?

A) Nigeria B) Congo
C) Libya D) Sudan
 
Answer & Explanation Answer: C) Libya

Explanation:

Al Aziziyah, the hottest place on earth is located in Libya, in North Africa. On 13 September 1922, a high temperature of 58.0 °C was recorded in Al Aziziyah.

 

Al_Aziziyah,_the_hottest_place_on_earth1557403285.jpg image

 

This is considered the highest temperature ever measured on Earth.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: IT Trainer , Bank PO , Bank Clerk , Analyst

6 3021
Q:

Which State is the "most corrupt state" According to the National Crime Records Bureau (NCRB)?

A) Manipur B) Maharashtra
C) Himachal Pradesh D) Uttarakhand
 
Answer & Explanation Answer: B) Maharashtra

Explanation:
Report Error

View Answer Report Error Discuss

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

6 3020
Q:

Which describes the correct pairing of DNA bases?

A) guanine - cytosine B) adenine - cytosine
C) guanine - thymine D) thymine - cytosine
 
Answer & Explanation Answer: A) guanine - cytosine

Explanation:

The correct pairing of DNA bases among the given options is guanine - cytosine.

Report Error

View Answer Report Error Discuss

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

3 3020
Q:

One who believes in fate?

A) determinist B) predestinarianist
C) fatalist D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

A person that believes completely in fate is a fatalist, or sometimes predestinarianist or determinist.

Report Error

View Answer Report Error Discuss

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

2 3019
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 3018
Q:

What is meant by Take Over ?

Answer

In business, a takeover is the purchase of one company by another.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

2 3017
Q:

MPG extension refers usually to what kind of file?

A) MS Office document B) Image file
C) Word Perfect Document file D) Animation/movie file
 
Answer & Explanation Answer: D) Animation/movie file

Explanation:
Report Error

View Answer Report Error Discuss

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

0 3017