Write an if-else statement using a C-string function that reports whether two C-strings variables contain the same C-string.
What will be an ideal response?
```
Use strcmp.
if( !strcmp(firstCstring, secondCstring) )
cout << “the C-strings are the same” << endl;
else
cout << “the C-strings are different” << endl;
```
Computer Science & Information Technology
You might also like to view...
A cell reference is the column and row location of a cell.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
COGNITIVE ASSESSMENT IBM, Microsoft, Novell, RedHat, Sun, and others offer certifications that test knowledge of what?
A. operating systems B. application design C. networks D. web development
Computer Science & Information Technology