Thread
:
Adding The Values of Pointers
View Single Post
Jun 28th, 2007, 1:27 AM
#
9
Darkhack
Hobbyist Programmer
Join Date: Dec 2005
Location: Kansas City
Posts: 102
Rep Power:
3
Okay, that makes sense to me, but I don't understand why char pointers are able to work in that fashion. It seems to me that C isn't very consistant on this issue.
char *s = "Why can I do this?";
Darkhack
View Public Profile
Find More Posts by Darkhack