Quick actions

cmd+k|ctrl+k

Navigation

Languages

string++

Snippet info

Language

Cpp

Visibility

public

Author

danielmg17

Created

2018-02-06T16:36:38Z

Updated

2018-02-06T16:53:05Z

#include <iostream>
using namespace std;

int main() {
    string h = "hello";
    cout << h << endl;
    char g[] = {'h','e','l','l','o','\0'};
    cout << g << endl;
    char t[] = {'h','e','l','\0','l','o'};
    cout << t;
}
INFO