B
Bill Cunningham
I am using in my code an unsigned char when I could be using a char.
Just what does the standard say about all these types? On my machine a long
and long long are not the same. However char and unsigned char are the same
in length of bit streams that it. Double is 8 bytes and int is 4 just like
char. Does C treat these data types as different in any way other than
length? Could I not say,
int *i="stream\n"; rather than
char *p="stream\n";
And not lose lose anything of value other than having strange looking code?
Bill
Just what does the standard say about all these types? On my machine a long
and long long are not the same. However char and unsigned char are the same
in length of bit streams that it. Double is 8 bytes and int is 4 just like
char. Does C treat these data types as different in any way other than
length? Could I not say,
int *i="stream\n"; rather than
char *p="stream\n";
And not lose lose anything of value other than having strange looking code?
Bill