how to print a string in cpp code example
Example 1: print in cpp
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
Example 2: c++ print string
std::cout << "";
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}
std::cout << "";