0
please explain output numbers .
#include <iostream> using namespace std; int main() { int x; double y; float a; long b; x = ++x; y = ++y; a = ++a; b = ++b; cout<<x<<endl; cout<<y<<endl; cout<<a<<endl; cout<<b<<endl; }
3 Respuestas
+ 1
I thought they represent something !
every time I run ,got the same output.
0
these numbers should reflect a random number assigned to them +1 since they where never declared.
0
that's the way this app works, if you ran it on a pc or what not it should give you different outputs