Please help. GNU As syntax for pointers with ANSI C binding in platform independent way.

Andreas Schwab schwab@linux-m68k.org
Wed Nov 10 18:21:00 GMT 2010


Oleksandr Gavenko <gavenko@bifit.com.ua> writes:

> Also I don't understand way I can not directly point str_data in
> printf() call. Why I need wrote '&' before 'str_data' in .c:

Because str_data is an array of characters, so you should declare it as
such.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list