1.

Write C++ statement for the following. a) The result obtained when 5 is divided by 2. b) The. remainder obtained when 5 is divided by 2.

Answer»

a) 5/2  

b) 5%2



Discussion

No Comment Found

Related InterviewSolutions