WorksheetsIncrement/Decrement
Total questions: 6
Worksheet time: 6mins
Name
Class
Date

Free Printable Worksheets
Font size
Worksheetsint x=1, y = 2;
y = x++ ;
cout << x <<" "<< y ;
3 1
1 2
2 1
1 3
int y, x=2;
y = ++x;
cout << x <<" "<< y ;
1 2
2 1
2 2
3 3
int x = 2;
int y=4;
cout << x++ <<" "<< --y;
1 2
2 3
2 4
2 1
int x= 2;
int y = 2 * x++;
cout << x <<" "<< y;
3 4
3 3
4 3
4 4
int x= 99;
if (x++ < 100)
cout << "It is true!\n";
else
cout << "It is false!\n";
It is false!
It is true!
int x=0;
if (++x)
cout << "It is true!\n";
else
cout << "It is false!\n";
It is true!
It is false!
10 questions
Ejercicio de potencias
Worksheet
•
1st - 12th Grade
10 questions
Principales investigadores y pensadores en latinoamerica
Worksheet
•
1st - 10th Grade
10 questions
Permainan Invansi (Bola Basket) Kelas IX
Worksheet
•
9th - 12th Grade
10 questions
Soal Latihan PPKn Tema A Subtema 1
Worksheet
•
8th - 11th Grade
10 questions
Semana de Oración DÍA 01
Worksheet
•
10th - 12th Grade
10 questions
Evaluasi Kelas 5 Tema 9 Subtema 2 Pembelajaran 1
Worksheet
•
10th - 11th Grade
10 questions
¿Qué vamos a citar hoy?
Worksheet
•
11th Grade
11 questions
ARA ARA!
Worksheet
•
12th Grade