What is "10" - 1 in Go?
O A compiler error: invalid operation: "10" - 1 (mismatched types string and int)
9
Run time error "mismatched types"
None of the above
Answers
Answered by
0
Answer:
10 Being in double quotes is String type value
10 Being in double quotes is String type value1 without quotes is a int type value.
Either make both String or int type to correct the error.
Hence there was the error.
If it helps, rate it 5 stars marking it as the brainliest.
Similar questions