0
What makes difference between char, int, float, double in pointer?
int score = 5; int *scorePtr; scorePtr = &score; cout << scorePtr << endl; This is a simple example but if i chage int to double the output is changed. Same for char, double. Why? What makes them different?
1 Respuesta
0
its type
like characters are bytes by value.only its type make it character not number