Answer: k = 30, i = 11, j = 20
Operator of ++ has higher precedence than +.
Operator precedences in C/C++ have been listed below from highest to lowest.
Post ++ --, function call, array [], ->, ., pre ++ --, !, ~, unary -, +, address &, *(), sizeof(), new , delete, casting (type), .*, ->*, Multiplication *, division /, mod %, +, -, <<, >>, <, <=, >, >=, ==, !=, bitwise &, ^, |, &&, ||, ?:, &=, ^=, |=, comma
About our authors: Team EQA
You have viewed 1 page out of 252. Your C learning is 0.00% complete. Login to check your learning progress.