What is the function of the modulus operator in most languages ?

A) Sets a system environmental value to either base 10, base 8 or base 16
b) Returns the remainder after dividing one number by another
c) Returns the first argument raised to the second argument power
d) Prints out the actual code written to standard output rather than executing the code
This question is related to BirlaSoft Interview

Showing Answers 1 - 4 of 4 Answers

Sujit Roy

  • Jun 10th, 2005
 

the answer is (b) . 
The modulus opertaor returns the remainder after dividing one number with another

  Was this answer useful?  Yes

sumit singla

  • Sep 19th, 2005
 

ans is option b

  Was this answer useful?  Yes

Thilak

  • Oct 1st, 2005
 

The function of the modulus operator is ,Produce the remainder of the given division operation.Finally we get the remainder only

dinesh

  • Apr 30th, 2016
 

Return the remainder after dividing one number to other number

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions