Parul takes as input two numbers: a and b. a and b can take integer values between 0 and 255. She stores a, b and c as 1-byte data type. She writes the following code statement to process a and b and puts the result in c. c = a + 2*b
Her program gives the right output with some input values of a and b, while giving an erroneous answer for others. For which of the following inputs will it give a wrong answer?
1
a = 10 b = 200
2
a = 200 b = 10
3
a = 50 b = 100
4
a = 100 b = 50