InterviewSolution
Saved Bookmarks
| 1. |
Find out the errors, if any, in the following C++ statement:(i) cout<<" = "a;(ii) m = 5, n = 12; o = 15(iii) cout<<"x";<>y;>>j;(v) cin>>"\n">>y; (vi) cout>>"\n "abc";(vii) a = b + c(viii) break = x*y; |
|
Answer» (i) cout<<"="a; (ii) m = 5, n = 12; o = 15 (iii) cout<<"x";<<x; (iv) cin>>y;>>j; (v) cin>>"\n">>y; (vi) cout>>"\n "abc"; (vii) a = b + c (viii) break = x*y; |
|