#include <iostream>

using namespace std;

int main(){
    int x = 4;

    //what does this do?
    char data[100] = {65,66,90, 'x', '\n', '\n', '\n', '\0'};

    cout << data[0] << endl;

    //We cast this ptr to a void * type so that << doesn't print the whole string.
    //Take away the type cast and see the difference in execution.
    cout << (void*)data << endl;
    cout << *data << endl;
    cout <<  (void*)(data + 1) << endl;
    cout << *(data + 1) << endl;
    return 0;
}

