CompuServe Thread

Forum unknown · Programming

What's c++

1 messages in this thread
#131510From: Scott BallantyneJun 23, 1988 11:16 PM
"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