Joel Uckelman on 27 Aug 2001 06:01:04 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: hosers-talk: Duh.


Quoth "Jon Stewart":
> Didja' ever notice that "" and "\0" are the same strings in C/C++?
> 
> 
> 
> Jon

Since all strings are null-terminated, "" should be 0x00. But what if what 
you want is a string that consists of a null byte? Why isn't that stored as 
0x0000?

-- 
J.