a
19
1. A relational operator
(a) assigns one operand to another
(b) yields a boolean (logical) result
(C) compares two operands
(d) logically combines two operands
2. Write an expression that uses
relational operator to return true if the
variable total is greater than or equal to
final.
3. Given that i=4, j = 5, k = 4, what will
be the result of following expressions ?
(i) i<k (ii) i<j (iii) i <=k
(iv) i ==; (v) i == k (vi) j>k
(vii) j>=i (viii) j!=i (ix) j!=k
(x) j<=k
4. What will be the order of evaluation for
following expressions ?
(i) i +5 >= j-6?
(ii) s + 10 < p -2+ 2q
(iii) i < j<k>l>=n
5. What will be the result of the following
if ans is 6 initially?
(i) cout << ans = 8;
(ii) cout << ans
.8;
Answers
Answered by
1
Answer:
etegkufsgsyjxgatGJfharjsfbdyRJzgnG
stshsyaykaykayTeymnxgxhjTJathstwt
Explanation:
gjsydyksgkdgahgnzggzjshkGFksgkshchuudlduduudkd
Similar questions
Math,
2 months ago
India Languages,
2 months ago
Chemistry,
2 months ago
Math,
5 months ago
English,
5 months ago
English,
10 months ago
History,
10 months ago
Computer Science,
10 months ago