0
int a=2,b=1; cout<<++a/++b; give the output
Assume all required header files and proper syntax is included
1 ответ
0
Narrowing down the operators' precedence table[1] for three operators presented in the right-hand side of the insertion operator (<<),
precedence 2: a++ a-- (postfix)
precedence 3: ++a --a (prefix)
precedence 5: / (division)
[1] https://en.cppreference.com/w/cpp/language/operator_precedence