Sans titre
public text v1 · immutable// Figure 5.32
//
#include <iostream>
using std::cout;
using std::endl;
#include <iomanip>
using std::setw;
#include <cstring>
int main()
{
char *s1 = "Good Year";
char *s2 = "Good Year";
char *s3 = "good vacation";
cout << "s1 = " << s1 << "\ns2 = " << s2
<< "\ns3 = " << s3 << "\n\nstrcmp(s1,s2) = "
<< strcmp(s1,s2) << "\n";
return 0;
}