×

Loading...

show u another dark spot of c

void main()
{
char c=0;
signed char sc=0;
sc=c; //works

int i=0;
signed int si=0;
si=i; //works

char* pc=0;
signed char* spc=0;
spc=pc; //not works

int* pi=0;
signed int* spi=0;
spi=pi; //works
}


I can't see any reasonable logic here
Report

Replies, comments and Discussions: