Problem 12: Output

Take two integer variables i = 0 and j = 0. Now write the output of the following program without running the code.

int main(){
    int i = 0;
    int j = 0;
    j = i++ + ++i;
    printf(“%d %d”,i,j);
}

2,678 total views, 8 views today

Comments

comments

5 thoughts on “Problem 12: Output”

Leave a Reply

Your email address will not be published.