Re: Character Array in C
Re: Character Array in C
- Subject: Re: Character Array in C
- From: Lawrence Gold <email@hidden>
- Date: Mon, 3 Apr 2006 14:24:02 -0600
On Apr 3, 2006, at 2:08 PM, Ben wrote:
test(helloworld) returns void, and yet you are using it as if it
would evaluate to a char*.
Another problem is that there's a buffer overrun: When you declare
char helloworld[11];
the array has 11 elements: 0 through 10, not 0 through 11.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden