Answers for "how to make a string c++"

C++
0

c++ write string

#include <iostream>

int main() {
	std::cout << "Hello" << std::endl; //endl = end line/new line
    // or
    printf("hello");
    
}
Posted by: Guest on March-02-2020
0

How to write String in C++

char greeting[6] = {'H', 'e', 'l', 'l', 'o', ''};
Posted by: Guest on November-11-2021

Code answers related to "how to make a string c++"

Browse Popular Code Answers by Language