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

The rank of the different Ministers in the Union Council of Ministers is determined by the 

A) President B) Prime Minister
C) Cabinet Secretary D) Speaker of the Lok Sabha
 
Answer & Explanation Answer: B) Prime Minister

Explanation:

The rank of the different ministers is determined by the Prime Minister, according to whose advice the President appoints the Ministers [ Art 75(1) ] and also allocates business among them [ Art 77 ].

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

18 7362
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 7362
Q:

Chauri Chaura is a town located in which Indian state/UT?

 

A) Uttar Pradesh B) Punjab
C) Delhi D) Maharashtra
 
Answer & Explanation Answer: A) Uttar Pradesh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

5 7357
Q:

Which of the following tax was initiated by the Alauddin Khilji?

 

A) Kharaj B) Kankut
C) Ghari D) Zakat
 
Answer & Explanation Answer: C) Ghari

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 7357
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 main failings were of conception and a political willingness to settle _________ easy options.

A) to B) of
C) from D) for
 
Answer & Explanation Answer: D) for

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 7356
Q:

Who had, while fasting in the prision, written to the British governor , "The individual must die so that the nation may live.Today,I must die so that India may win freedom and glory"?

A) Jatin Das B) Lala Lajpat Rai
C) MK Gandhi D) SC Bose
 
Answer & Explanation Answer: A) Jatin Das

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

9 7355
Q:

Match the following.

 

 

A) I – 2, II – 3, III – 1   B) I – 1, II – 3, III – 2  
C) I – 2, II – 1, III – 3   D) I – 3, II – 2, III – 1
 
Answer & Explanation Answer: D) I – 3, II – 2, III – 1

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams

0 7354