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 7339
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:

Rearrange the parts of the sentence in correct order.

 

Over population of humans is

 

P : the biggest factor behind so

Q : many social, sustainable and environmental

R : issues all over the world

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 7333
Q:

Select the synonym of

consensus

 

A) cacophony B)  harmony
C) tumult D) clamour
 
Answer & Explanation Answer: B)  harmony

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

Select the related word/letters/numbers from the given alternatives:

5 : 100 :: 7 : ?

A) 49 B) 196
C) 91 D) 135
 
Answer & Explanation Answer: B) 196

Explanation:
Report Error

View Answer Report Error Discuss

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

Which of the following electromagnetic waves has minimum wavelength?

 

A) Alpha B) Gamma
C) Infrared D) X-rays
 
Answer & Explanation Answer: B) Gamma

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 7320