[dgplug-users] assignment suppression is giving a warning

Sunny Sharma sunny20062010 at gmail.com
Fri Dec 25 19:10:01 PST 2009


hi,

oh no! then it is creating a problem...never mind. well there is another one
if   int x = 1, y = 1;
printf("%d",printf("%d%d",x,y));

the output is coming 1 12 can you explain me how?

On Sat, Dec 26, 2009 at 8:15 AM, Shakthi Kannan <shakthimaan at gmail.com>wrote:

> Hi,
>
> --- On Fri, Dec 25, 2009 at 11:35 PM, Sunny Sharma
> <sunny20062010 at gmail.com> wrote:
> | The version of my compiler is
> | gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
> |
> | the options which i am passing the compiler is
> |
> | gcc -g <programname.c> -o <programname>
> \--
>
> I am not getting any warning on gcc 4.4.2 (Fedora 12).
>
> SK
>
> --
> Shakthi Kannan
> http://www.shakthimaan.com
> _______________________________________________
> Users mailing list
> Users at lists.dgplug.org
> http://lists.dgplug.org/listinfo.cgi/users-dgplug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dgplug.org/pipermail/users-dgplug.org/attachments/20091226/94178e79/attachment-0002.htm>


More information about the Users mailing list