int main(int argc, char** argv) { int array[8] = { 1, 1, 1, 1, 1, 1, 1, 1 }; int8_t* pointer = (int8_t*)array; pointer += 3; std::cout << (int)*pointer << std::endl; return EXIT_SUCCESS; }