¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita- 2
Int a=3; Int b=2; b=a++; Cout<<++b;
5 Respuestas
+ 10
int a=3;
int b=2;
b=a++;. //3
cout<<++b;. //4
+ 8
Remember that C++ is case sensitive - 'int' and 'cout' has to be in lowercase.
+ 2
the answer is 4. when the plus signs are in front of the variable things are done on the spot if after the variable ...addition is happening on the nezt line...so
third line is like:
b=a; a=a + 1;
4
+ 1
The answer is 4
0
int a;
int b;
a = 11;
b = a – 1;
b = b + a;
cout <<b;