Incremental Operatiors

Q

What will be printed as the result of the operation below:

          main() {
              int x=10, y=15;
              x = x++;
              y = ++y;
              printf("%d %d\n",x,y);
          }

✍: FYIcenter

A

Answer: 11, 16

2007-02-26, 6580👍, 0💬