Statements :
(a) cout << "x=" x;
(A) '<<' operator missing between "x=" and x
(b) m = 5; //n = 10; // s = m + n;
(A) no error
(c) cin >> x; >> y;
(A) Terminator operator ';' present in between cin >> x and >> y
OR
'cin' missing in between x; and >> y
(d) cout << \n "Name:" << name;
(A) Escape sequence '\n' present outside double quotes (" ")
(e) cout << "Enter Value:"; cin >> x;
(A) no error
(f) /*Addition*/ z = x + y;
(A) no error
(a) cout << "x=" x;
(A) '<<' operator missing between "x=" and x
(b) m = 5; //n = 10; // s = m + n;
(A) no error
(c) cin >> x; >> y;
(A) Terminator operator ';' present in between cin >> x and >> y
OR
'cin' missing in between x; and >> y
(d) cout << \n "Name:" << name;
(A) Escape sequence '\n' present outside double quotes (" ")
(e) cout << "Enter Value:"; cin >> x;
(A) no error
(f) /*Addition*/ z = x + y;
(A) no error
No comments:
Post a Comment