This snippet of code is a little confusing

int i = 2, j ;

j = ++i ;

Does (int i = 2, j;) mean that int i has two values? What would hapen if I called the variable i? Would I get 2 and j, or the two numbers put together?

by idkjulio via /r/csharp

Leave a Reply