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

Which of the following States is a member of the ' Seven Sisters '

A) West Bengal B) Orissa
C) Tripura D) Bihar
 
Answer & Explanation Answer: C) Tripura

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

8 7325
Q:

When development in economy takes place, the share of tertiary sector in National Income

A) first falls and the rises B) first rises and then falls
C) keeps on increasing D) remains constant
 
Answer & Explanation Answer: C) keeps on increasing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 7324
Q:

Select the synonym of

 

to recline

 

A) to lounge B) to rewind
C) to sheer D) to plump
 
Answer & Explanation Answer: A) to lounge

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 7324
Q:

Which of the following is an example of compound?

 

A) Manganese B) Air
C) Ozone D) Ammonia gas
 
Answer & Explanation Answer: D) Ammonia gas

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 7324
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 7322
Q:

Rearrange the parts of the sentence in correct order.

 

Whether the emergence

P-­will change the ugly dynamic
Q­-of these popular protests
R­-in Brazil is to be seen

 

A) QPR B) RQP
C) PQR D) PRQ
 
Answer & Explanation Answer: A) QPR

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 7320
Q:

National Hydrogen Energy Mission (NHEM) was announced by

 

A) Nirmala Sitharaman   B) Narendra Modi
C) Nitin Gadkari D) Dr. Harshvardhan
 
Answer & Explanation Answer: A) Nirmala Sitharaman  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 7306