Code:#include < iostream >
#include < string >
using namespace std;
int main()
{
string greeting = "hello";
cout << greeting.find ( 'c', 0 ) << endl;
return 0;
}
Since c isn't in the word hello, shouldn't that cout statement print out -1? Why is it printing out 4294967295?
