A) *
B) –
C) +
D) All of the above
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Answer: B) – (substraction)
Explanation: The most common arithmetic operations are addition (+), multiplication (*), subtraction (-), and division (/). Arithmetic operators are used to carrying out these operations. We can use these operators with any numerical values to perform calculations.
But in Programming, we are not able to utilize all of these operators with strings. Only a few mathematical operators can be used on a string, such as the addition symbol to join two strings together.
example: a+bc=abc like this we can do string multiplication using the multiplication symbol(*). Hence only two arithmetic operations (+ & *) are used with strings.
subtraction(-), division(/), Floor division (//), exponent(**), and modulus(%) operators are not use with strings.
Hence, the option is the correct answer to the above question.
I hope, This answer will help you!