Tag C++ Numbers and Strings

C++ Numbers and Strings

Adding Numbers and Strings C++ uses the + operator for both addition and concatenation. Numbers are added. Strings are concatenated. If you add two numbers, the result will be a number: Example: If you add two strings, the result will…