First of all, i know this code is wrong and i know how to fix it hopefully! However, i do not know why the green point is wrong! I mean that i try to have a char pointer named "name" but...what is going wrong with this?
thanks in advance...
Code:#include <iostream>
using namespace std;
int main(void){
char *name;
cout << "name: ";
cin >> name;
cout << "your name is: " << &name << "\n";
return 0;
}

