2082 KartikChapter 3: Operators and Expressions3.3 Assignment, Increment and Decrement Operators
What is an operator in C? Explain difference between pre-fix and post-fix increment operators in C with examples.
ENCT 101 · Chapter 3
— out of — readSign in to save progress
What is an operator in C? Explain difference between pre-fix and post-fix increment operators in C with examples.
What is the final value of $c$, $d$, $e$ and $f$ in the following code?
int a=2, b=3; c= a++ - ++b + ++a; d= ++c * b--; e = (c>d)?a:b; f= e++;
Define operators and expressions in C. Discuss operator precedence and associativity with an example expression.