#include <stdio.h>

int main(){
        int k = 0;
        printf("%d %d %d %d %d\n\n",k++,k , ++k, k++,++k);
        return 0;
}

why?


-- 
           Summary: unknow order to simple print
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: serroba at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36818

Reply via email to