1.

Write C++ statement for the following, 1. The result obtained when 5 is divided by 2. 2. The remainder obtained when 5 is divided by 2.

Answer»

1. 5/2 

2. 5 % 2



Discussion

No Comment Found

Related InterviewSolutions