You are on page 1of 2

Question no 2.

13
Which of the following C++ statements contain variables whose values are
replaced?
(a) cin >> b >> c >> d >>e>> f; (b) p = i+j+ k+7;
(c) cout << "variables whose values are replaced";
(d) cout << "a = 5";

(a) cin >> b >> c >> d >>e>> f;

(b) p = i+j+ k+7;


P will be assigned the value of sum of I,j,k,7

(c) cout << "variables whose values are replaced";


(d) cout << "a = 5";

You might also like