engineering computer science MCQ #1243

What is the result of the expression 7 mod 3?

engineering computer science MCQ #1243

  1. Question 1

    Q1. What is the result of the expression 7 mod 3?

    • A) 2
    • B) 1
    • C) 0
    • D) 3

    Answer: 1

    Explanation: The modulus operator (mod) returns the remainder of the division of 7 by 3, which is 1.