Answers for "how to print the string in c++"

C++
13

how to print in c++

#include <iostream>

int main() {
  std::cout << "Hello, World!"; // prints 'Hello, World!' to the output.
  return 0;
}
Posted by: Guest on May-02-2020
2

print in c++

#include <iostream>
using namespace std;

int main() {
  cout << "ENTER TEXT HERE";
  return 0;
}
Posted by: Guest on March-01-2021

Browse Popular Code Answers by Language