If a=10 and b=5, what will get printed after the following statements:
b*=a ;
printf(“%d,%d”, a , a);
Answers
Answered by
0
Answer:
Explanation:
If a=10 and b=5, what will get printed after the following statements:
b*=a ;
printf(“%d,%d”, a , a);
Answered by
0
Answer:
What language is this? Operator precedence is defined by the language syntax. Thus, since the language is not stated, nor can be really be inferred, you need to make an assumption to answer the question.
Assuming it’s a “c like language”, operator precedence means the print statement is the same as the following:
print (((a * b) / c) - c)
print (((10 * 35)/5) - 5)
print ( (350/5) - 5 )
print ( 70 - 5 )
print ( 65 )
Similar questions