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; }

8th Aug 2016, 7:33 PM
Jetset Willy
Jetset Willy - avatar
3 Respuestas
+ 1
I thought they represent something ! every time I run ,got the same output.
8th Aug 2016, 8:27 PM
Jetset Willy
Jetset Willy - avatar
0
these numbers should reflect a random number assigned to them +1 since they where never declared.
8th Aug 2016, 8:14 PM
destro
0
that's the way this app works, if you ran it on a pc or what not it should give you different outputs
8th Aug 2016, 8:29 PM
destro