#include<iostream>
using namespace std;
int main(){
char s[10] = "abcde";
char* first = s - 1;
cout << first << endl;
return 0;
}
when I run this, I get a blank in my console, but when I say *first = s; I get the whole char array printed to my console. My question is, what exactly is first pointing to when I set it to s - 1?
char* first = s - 1points to garbage?