Questions

Q:

Point out the error in the following program.

main()

{

    char mybuf[] = "Zanzibar" ;

    char yourbuf[] = " Zienckewiz";

    char * const ptr = mybuf;

     *ptr = 'a';

     ptr = yourbuf;

}

Answer

ptr pointer is constant. In ptr = yourbuf the program is trying to modify it, hence an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

5 7341
Q:

Boost and Crocin brands are owned by which company?

A) GalaxoSmithKline B) Pfizer
C) Henz D) ParasPharma
 
Answer & Explanation Answer: A) GalaxoSmithKline

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

21 7338
Q:

Correct answer for the given blank out of the four alternatives.


The main failings were of conception and a political willingness to settle _________ easy options. _______________ the expansive declarationsof the need "to maintain effective security of all nuclear materials, _______________ includes nuclear materials used in nuclear weapons”, thesummits narrowed their _______________ to civilian holdings __________________ non­nuclear weapon states.


the summits narrowed their ______________

A) view B) focus
C)  attention   D) vision
 
Answer & Explanation Answer: B) focus

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 7334
Q:

Washing soda is used ______.

 

I. for removing permanent hardness of water

 

II. for disinfecting drinking water

 

III. as a cleaning agent for domestic purpose

 

A) Only I and II B) Only I and III
C) Only II and III D) All I, II and III
 
Answer & Explanation Answer: B) Only I and III

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 7331
Q:

Lathyrism is caused by excess consumption of.......

A) Khesari Dal B) Mustard oil
C) Mushrooms D) Polished rice
 
Answer & Explanation Answer: A) Khesari Dal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

35 7328
Q:

A piece of ice is floating in water kept in a beaker. When all the ice melts the level of water will

A) first rise and then fall B) fall
C) remain the same D) rise
 
Answer & Explanation Answer: C) remain the same

Explanation:

The submerged portion of the ice on melting shrinks a little in volume. so the level of water goes down a little.But this is just made up by the water added by the melting of upper portion. Addition is equal to the Shrinkage. Hence level is unchanged.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

15 7328
Q:

Consider the following statements about Sikh Gurus:
1. Banda Bahadur was appointed as the military leader of the Sikhs by Guru Tegh Bahadur.
2. Guru Arjan Dev become the Sikh Guru after Guru Ram Das.
3. Guru Arjan Dev gave to Sikhs their own script- Gurumukhi.
Which of the statements given is/are correct?

A) 1 only B) 2 and 3
C) 1 and 3 D) 1 and 2
 
Answer & Explanation Answer: D) 1 and 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture

122 7317
Q:

Match the characteristics with their market structure:

(a) Differentiated products, but close substitutes for consumers so their demand curves are elastic
(b) Homogeneous product, all goods are perfect substitutes for consumers

A) (a) Monopolistic Competition, (b) Pure Competition B) (a) Monopolistic Competition, (b) Pure Monopoly
C) (a) Pure Monopoly, (b) Pure Competition D) (a) Pure Monopoly, (b) Pure Competition
 
Answer & Explanation Answer: A) (a) Monopolistic Competition, (b) Pure Competition

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

1 7317