#include <iostream>
#include <string>
#include <cstring>
using namespace std;

int main() {
	const char src[] = "Hello, World!\0 Rise And shine!";
	
	string s(src, sizeof(src));
	
	cout << ">>> Length test:" << endl;
	cout << "sizeof(src): " << sizeof(src) << endl
	     << "strlen(src): " << strlen(src) << endl 
	     << "s.length() : " << s.length()  << endl;
	     
	cout << ">>> Output test:" << endl;
	cout << "src      : \"" << src       << "\"" << endl
	     << "s.c_str(): \"" << s.c_str() << "\"" << endl
	     << "s        : \"" << s         << "\"" << endl;       
	     
	
	return 0;
}