I would like to hear the theoretical explanation of what is happening here
#include <iostream>
int main(){
int ooh=0x0;
char *cc=0x0;
std::cout<<"hello!"<<cc<<"still"<<ooh<<"\n";
}
When running this we got
hello!
and the program finishes. I suppose it is because we are trying to print an address 0x0 I know it is wrong, but I would like to hear why is this wrong and what is happening under wraps