int main()
{
char *c,c1[127];
c = &c1 ;
cin >> c1 ;
cout << c1 ,"\n" ,c ,"\n", *c ;
system("pause");
return 0;
}
ok so the purpose of this was originally to experiment with the capabilities of pointer's but i don't understand how array's and pointer's can be used together.
in other word's if i where to make a int and a pointer then everything is fine but how come it's not the same case when it come's to arrays?