// Overflow // overflow.cpp #include using namespace std; int main() { int i; char c; double x; char s[8]; cout << "Enter an integer,\n" "a floating-point number,\n" "a character and\n" "a string : " << endl; // Type in a string OVER 7 characters cin >> i >> x >> c; cin.get(s,8); cout << "Entered " << endl; cout << i << ' ' << x << ' ' << c << ' ' << s << endl; return 0; }