Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
why do strcpy, strcat, & co return a pointer ?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Irrwahn Grausewitz, post: 1689357"] Hrmpf. Maybe I should have written: "It is impossible to modify the pointer p is converted to when used in a value context." However, to someone with *both* cerebral hemispheres enabled the meaning of my original claim should've been clear from the context, which you snipped. ;^) [unsnip] IG> As p in the example is used in value context, it is converted to IG> a pointer to its first element. This pointer isn't (and cannot IG> be) altered. What /is/ changed are the contents of the array IG> (but it's not the contents that are passed to printf). Regards [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
why do strcpy, strcat, & co return a pointer ?
Top