Kotlin - Operators and ExpressionsWhat does the '-' operator do in Kotlin?ADivides two numbersBSubtracts one number from anotherCMultiplies two numbersDFinds the remainderCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand the subtraction operatorThe minus sign (-) subtracts one number from another in Kotlin.Step 2: Match the operator to its functionAmong the options, only subtraction matches the '-' operator.Final Answer:Subtracts one number from another -> Option BQuick Check:Subtraction operator = - [OK]Quick Trick: Minus sign means subtract, like taking away [OK]Common Mistakes:MISTAKESThinking - means divideConfusing - with remainderUsing - for multiplication
Master "Operators and Expressions" in Kotlin9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kotlin Quizzes Control Flow as Expressions - If as an expression returning value - Quiz 3easy Data Types - String type and immutability - Quiz 1easy Data Types - Boolean type and logical operators - Quiz 9hard Functions - Parameters with default values - Quiz 11easy Functions - Vararg parameters - Quiz 12easy Kotlin Basics and JVM Runtime - Print and println output - Quiz 14medium Loops and Ranges - For loop with step and downTo - Quiz 5medium Loops and Ranges - Why ranges simplify iteration - Quiz 8hard Null Safety - Platform types from Java interop - Quiz 9hard Operators and Expressions - Equality (== structural vs === referential) - Quiz 2easy