CompuServe Messages

What's c++

#: 131510 S10/ProgrammingForum unknown
    23-Jun-88 23:16:31
Sb: #131109-What's c++
Fm: Scott Ballantyne 70066,603
To: John Draper 76703,4322

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

"This is a string" is an array, technically, which is automagically promoted to a pointer to char when the conditions are right. Try sizeof("this is a string") as opposed to sizeof(ptr). (Just trying to confuse further, that's all). sdb