0

int a=2,b=1; cout<<++a/++b; give the output

Assume all required header files and proper syntax is included

3rd Jul 2019, 2:09 PM
SAURABH VISHWAKARMA
SAURABH VISHWAKARMA - avatar
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
3rd Jul 2019, 2:32 PM
To Seek Glory in Battle is Glorious
To Seek Glory in Battle is Glorious - avatar