+ 1
How the output is come of this code print(2 * (3 + 4)) the answer is 14 how
3 odpowiedzi
+ 5
Firstly, according to precedence of operators inner braces are solved then outer so,
(2* (3+4)) // after solving inner braces 3+4 would be 7
(2*7) and now 2*7 will be 14
+ 2
Uzair Khan
'Thanks' can't be best answer. 'Best answer' means answer related to question and best among other answers. Since there is only one answer for your question so that answer should be marked as 'best'. Please be fair.
'Best answer' for that so people can understand better. 'Best answer' goes on top so people first see that answer.
0
Thanks