<=Back
The following is a C++ program segment. Use it to answer the questions that follows;
String x=’’information’’;
String y=’’communication’’;
Determine the output generated by each of the following function; (6 marks)
(i)Cout<<’’(x+y)’’;
(ii)Cout<<’’(x.length())’’;
(iii)Cout<<”(x.equals(y))”;
 Viewed: 599 times
Share in: