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

Which of these phosphorylates ADP to make ATP?

A) E B) B
C) C D) A
 
Answer & Explanation Answer: A) E

Explanation:

The ATP is synthesized from ADP and an inorganic phosphate and involves special channel proteins that are embedded in a membrane. ATP is formed in the electron transport chain of photosynthesis and cellular respiration.

 

which_of_these_phosphorylates_adp_to_make_atp1554270963.jpg image

 

Photosynthesis only occurs in autotrophic organisms while respiration occurs in all types of organisms.

Report Error

View Answer Report Error Discuss

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

1 3077
Q:

What is the freezing point of water in Celsius?

A) 0 deg C B) 32 deg C
C) -42 deg C D) -32 deg C
 
Answer & Explanation Answer: A) 0 deg C

Explanation:

The freezing point of water and melting point is 0 °C or 32 °F. The temperature may be lower if supercooling occurs.

Report Error

View Answer Report Error Discuss

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

0 3077
Q:

Depth of ocean is measured by

A) Animometer B) Aerometer
C) Siesmometer D) Fathometer
 
Answer & Explanation Answer: D) Fathometer

Explanation:

Fathometer is used to measure the depth of the ocean.

depth_of_ocean_is_measured_by1542975982.jpg image

Report Error

View Answer Report Error Discuss

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

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

The dwarf camels, known as Alpacas , Vicunas and llamas are found in 

A) Tibet B) Afghanistan
C) Burma D) Cyprus
 
Answer & Explanation Answer: A) Tibet

Explanation:

The llama, its wild cousin , the Vicuna and hump-less Alpaca are also found in the high pasture lands of the Andes region of Bolivia and peru, where they are useful as beasts of burden and for the production of fleece and meat.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 3075
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 3075