#include <stdio.h> int main(void) {int k,i; scanf("%d",&i); printf("k=%d,i=%d",k=++i,i); return 0;}
2
k=3,i=2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!