Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
20 Cards in this Set
- Front
- Back
int x = 2; int y = x--;
What is the output for y?
|
2 |
|
int x = 2; int y = --x;
What is the output for y? |
1 |
|
int x = 2; int y = ++x;
What is the output for y? |
3 |
|
int x = 2; int y = x++;
What is the output for y? |
2 |
|
int x = 2; int y =3- ++x;
What is the output for y? |
0 |
|
int x = 2; int y =3- x++; What is the output for y? |
1 |
|
int x = 2; int y =3- --x;
What is the output for y? |
2 |
|
int x = 2; int y =3- x--; What is the output for y? |
1 |
|
int x = 2; int y =3* --x; What is the output for y? |
3 |
|
int x = 2; int y =3* x--; What is the output for y? |
6 |
|
int x = 2; int y =3* ++x; What is the output for y? |
9 |
|
int x = 2; int y =3* x++; What is the output for y? |
6 |
|
int x = 3; int y =4% --x;
What is the output for y? |
0 |
|
int x = 3; int y =4% x--;
What is the output for y? |
1 |
|
int x = 3; int y =4% x++; What is the output for y? |
1 |
|
int x = 5; int y =8% ++x;
What is the output for y? |
2 |
|
int x = 2; int y = 4/ x--; What is the output for y? |
2 |
|
int x = 2; int y = 4/ --x; What is the output for y? |
4 |
|
int x = 2; int y = 4/ x++; What is the output for y? |
2 |
|
int x = 2; int y = 4/ ++x; What is the output for y? |
1 |