We are setting a char [] to some hex values i.e.
char [] test1 = {0x30,0x31,0x32,0x33,0x34,0x35};
Then we copy it into a string using
string teststring(test1, sizeof(test1));
Is the array suppose to be null terminated? or is the way we do the assignment, C++ is smart enough to know that its null terminated and have it appended anyhow?