Problem Statement - Ternary Operator Evaluation Problem
Evaluate the value of n if the value of p=5, q=19
int n = (q-p) > (p-q) ? (q-p) : (p-q);
Solution
sunmitra| Created: 22-Mar-2018 | Updated: 16-Apr-2019|ICSE2015
Evaluate the value of n if the value of p=5, q=19
int n = (q-p) > (p-q) ? (q-p) : (p-q);
sunmitra| Created: 22-Mar-2018 | Updated: 16-Apr-2019|ICSE2015