- 1
Should a pointer contain variable address of same datatype ??
char a='h'; int b=&a; does this is correct??
2 ответов
+ 8
Nope. Pointer datatype has to be obeyed. You store the address of a character variable using a char pointer.
0
ok
if I place *b=&a;
then it is also wrong....
yes??