I was having a difficulty in understanding char\* char[] const char...
so I was writing a simple code.

**about char**

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

int main() {
    char* a = new char[10];
    for (int i =0;i<8 ;i++) {
        a[i] = i;
    }
    cout << sizeof(a) << "\t" <<strlen(a) <<"\t"<< a <<endl;
    return 0;
}

```

The result was 8 0

Why did the result gone haywire?