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:

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:

An interest group hires lobbyists to

 

A) influence legislators B) raise money for politicians
C) handle tough problems D) enact laws in its favor
 
Answer & Explanation Answer: A) influence legislators

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 7323
Q:

Improve the bracketed part of the sentence.

I would love (to availing) a short holiday, and go for an overnight trek.

A) to avail myself of B) to avail of
C) to avail myself D) no improvement
 
Answer & Explanation Answer: C) to avail myself

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 7323
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:

Which of the following is graphics solution for word processors?

 

A) Clip Art B) Drop Cap
C) Word Art D) All of the above
 
Answer & Explanation Answer: A) Clip Art

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

3 7322
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 7309
Q:

The Gurkhas are the original inhabitants of

 

 

A) Nepal B) Bhutan
C) China D) Tibet
 
Answer & Explanation Answer: A) Nepal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

3 7307