Hey Mohit, This is a feature of GCC (I don't know if it is a part of the standard). Here's the link from the GCC manual: http://gcc.gnu.org/onlinedocs/gcc-4.4.4/gcc/Statement-Exprs.html#Statement-Exprs
On Sat, Sep 11, 2010 at 9:49 PM, mohit verma <mohit89m...@gmail.com> wrote: > thanks a lot manohar , > but please can u elaborate on > > > int val = ({5 + 5;}); > printf("Block value: %d\n", val); > > i mean we can set val =( 5+5) or val=5+5 > then what is the need of all this ({5+5;""}); > the quotes i gave ,i dint get that place completely. > > -- /manohar