Cout number

cout << “Welcome to Bulls and Cows”

I learned this code let console show the string “Welcome to Bulls and Cows”

But I couldn’t understand why the code below works.

cout << WORD_LENGTH

Isn’t ‘cout’ means showing string? Or, does ‘cout’ changes WORD_LENGTH to string from int?

I’m sorry that my English isn’t very good. But I’m hoping for answer!

Privacy & Terms