#Question for Display text on C++
3 messages · Page 1 of 1 (latest)
<< is the insertion operator and it sends data to the output stream
char string1[] = "Hello";
char string2[] = "World";
// It will print: Hello World
std::cout << string1 << " " << string2 << std::endl;
don't forget to #include <iostream>