pghsteelers
Technical User
What is incorrect about the assignment:
int* arrVar[] = { 2, 5, 94, 03, 2};
I get the error:
error C2440: 'initializing' : cannot convert from 'const int' to 'int *
yet the same format of:
char* arrVar[] = {"howdy",
"goodbye"};
is ok?
int* arrVar[] = { 2, 5, 94, 03, 2};
I get the error:
error C2440: 'initializing' : cannot convert from 'const int' to 'int *
yet the same format of:
char* arrVar[] = {"howdy",
"goodbye"};
is ok?