Math, asked by sandipb7688, 9 days ago

If int p=14%4; then the value assigned to the variable p is:​

Answers

Answered by harshkvardhan
2

Answer:

2

Step-by-step explanation:

% is a modulus function or a 'remainder' function. The numbers on the left of this operator (14) is divided by the number on the right of the operator (4) and gives the remainder (2).

Similar questions