What is the output for the code segment below if the variables have the following values:
phrase word
“Testing a string” “sting”
int pos = phrase.find (word);
if (pos < 5)
cout << “at start”;
else
cout << “at end”;
at start
Computer Science & Information Technology
You might also like to view...
A compound document is a document that combines elements from _______ vocabularies.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
The ____ property specifies whether you must enter a field value in a record.
A. Needed B. Necessary C. Mandatory D. Required
Computer Science & Information Technology