Re: Request for help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Srinivas Vangara \(svangara\)" <svangara@xxxxxxxxx> writes:

> Is the statement:
> 
> a[i]=a[i++]; a valid statement as per ANSI C standards or the behaviour
> is undefined and the implementation is compiler dependent?

It's undefined. See the documentation on -Wsequence-point.

-- 
	Falk

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux