English

The output of 42/6%2 is ______. - Computer Applications

Advertisements
Advertisements

Question

The output of 42/6%2 is ______.

Options

  • 1

  • 10

  • 2

  • 0

MCQ
Fill in the Blanks
Advertisements

Solution

The output of 42/6%2 is 1.

Explanation:

42/6% 2 = 7% 2 = 1

/- division operator

%- Modulus operator which gives the remainder.

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Official Board
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×