Some good examples to practice short answer questions on operators in c++
Some good examples to practice short answer questions on operators in c++
These questions will help you prepare for viva for operators in c++. Answers are also provided.
Find errors in the following cout statement constructs. 1) cout<<“This is my work” “; 2) cout<<\n<<“Show me next line”; 3) cout<<cout<<“This is cout chain”; 4) cout>>a<<b; 5) return cout; 6) cout<<x=10; 7) cout<<“Student marks are “;<<marks;
This set will help you practice write style of writing cout object and code comments.