On 07/02/2011 11:01 AM, Marko Vojinovic wrote:
With a small detail that the "$" in "$foo" is not actually a valid C construct itself, right?
Or were you looking at the subject line, where the code doesn't have the "$"?
The trinary operator itself is a valid C construct, even though the example given wouldn't work. (Thanx for pointing out the error; it's been way, way too long since I actually did any programming and didn't notice it.)