#include int main() { using namespace std; char a[50]; int y ... In the first case, the input will still contain a newline, which is then ...
stackoverflow.com