Thursday, February 26, 2015

What is a modulus operator? What are the restrictions of a modulus operator?

Question:What is a modulus operator? What are the restrictions of a modulus operator??

Answer: A Modulus operator gives the remainder value. The result of x%y is obtained by(x-(x/y)*y). This operator is applied only to integral operands and cannot be applied to float or double.

Tags:Interview Questions, Languages, C,

Please submit your Interview Answer for the above Question via replying to this post. Thank you for visiting to our blog, Have a Good Day!.



Sponsor Advertisement



School Administration Software

School Management System Software

This is One of the best School management system software in the world. School Software offers complete professional institute management system administration, library, accounting, inventory, etc for all the school activities management...

No comments:

Post a Comment