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

The term aerotolerant anaerobe refers to an organism that

A) uses oxygen or grows without oxygen. B) requires more oxygen than is present in air.
C) does not use oxygen but tolerates it. D) requires less oxygen than is present in air.
 
Answer & Explanation Answer: C) does not use oxygen but tolerates it.

Explanation:
Report Error

View Answer Report Error Discuss

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

4 3076
Q:

Which clade does not include humans?

A) diapsids B) craniates
C) synapsids D) lobe fins
 
Answer & Explanation Answer: A) diapsids

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

0 3076
Q:

Alcohol has many sensations and effects like

A) loss of concentration B) dizziness
C) nausea D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Alcohol has many sensations and effects like dizziness, nausea and loss of concentration.

Report Error

View Answer Report Error Discuss

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

5 3076
Q:

Lines are used in art to indicate

A) shadows and highlights B) direction and motion
C) boundaries between forms D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Lines are used in art to indicate

 

a. boundaries between forms.
b. direction and motion.
c. shadows and highlights.
d. spatial depth on flat surfaces.

 

Lines_are_used_in_art_to_indicate1556257325.jpg image

Report Error

View Answer Report Error Discuss

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

2 3075
Q:

Which one of the following is not a characteristic of a compound?

A) Composition is variable.  B) All particles of compound are of only one type.
C) Particles of compound have two or more elements. D) Its constituents cannot be separated by simple physical methods.
 
Answer & Explanation Answer: B) All particles of compound are of only one type.

Explanation:

A mixture is made from different substances that are not chemically joined.Compound:

•Two or more elements combine together chemically to form a new substance called compound.

•The different elements are chemically joined together.•Compounds are homogeneous, i.e. their properties are the same throughout

•The compound has properties different from the elements it contains.

•It can only be separated into its elements using chemical reactions. (not using physical methods)

•During the formation of a compound from its elements, a certain amount of energy in the form of heat, light, electricity is either absorbed or evolved

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

3 3075
Q:

Physical data models describe the details of how data is stored in the computers

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

They describe the details of how data is stored in the computers

Report Error

View Answer Workspace Report Error Discuss

Subject: Database
Job Role: Database Administration

0 3074
Q:

According to Assocham Report, ____________ is second best state in attracting investments.

A) Gujarat B) Maharashtra
C) Odisha D) Madhya Pradesh
 
Answer & Explanation Answer: A) Gujarat

Explanation:

Maharashtra bagged top position in total live investments attracted by different public and private sources across India as of FY17 stated the ASSOCHAM report. While Gujarat is in the second position followed by Odisha on the third slot, Gujarat at 8.5% and Odisha at 7%. Maharashtra led the pack to top as the best state to attract the investments.

Report Error

View Answer Report Error Discuss

Filed Under: Famous Places
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

13 3074