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

"Eco Mark" is given to the Indian Products that are ___________.

 

A) pure and unadulterated   B) rich in proteins
C) environment friendly D) economically viable  
 
Answer & Explanation Answer: C) environment friendly

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

2 7345
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 7342
Q:

Rearrange the parts of the sentence in correct order

 

It is becoming

P-increasingly clear that anyone
Q-of freedom, justice and equality is seen as a threat
R-who dares to raise issues

 

A) RPQ B) QRP
C) PRQ D) QPR
 
Answer & Explanation Answer: C) PRQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 7333
Q:

Of the following tree structure, which is, efficient considering space and time complexities?

A) Incomplete Binary Tree B) Complete Binary Tree
C) Full Binary Tree D) None
 
Answer & Explanation Answer: B) Complete Binary Tree

Explanation:

Full binary tree loses its nature when operations of insertions and deletions are done. For incomplete binary trees, extra storage is required and overhead of NULL node checking takes place. So complete binary tree is the better one since the property of complete binary tree is maintained even after operations like additions and deletions are done on it.

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

6 7332
Q:

Which one of the following industries is the biggest consumer of water in India?

 

A) Engineering B) Paper and pulp
C) Taxtiles D) Thermal power
 
Answer & Explanation Answer: D) Thermal power

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

3 7328
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 7321
Q:

Which of these illustrates the Secondary Structure of a Protein?

chemistry1519110232.jpg image

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

Explanation:

The Secondary Structure of a Protein is option B)

 

The Secondary Structure of a Protein results from Hydrogen Bonds.

Report Error

View Answer Report Error Discuss

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

2 7321