0
Int a,b=12; cout <<a,b; // output =8. Why???
4 Respuestas
+ 3
If the whole thing is
int a, b = 12;
cout << a, b;
then, the output would be the a's value which is some garbage value.
+ 3
Nguyễn Quang Huy
Garbage values refer to some preoccupied and meaningless values in memory which left over from other program's activities.
Since you weren't initialized the a variable, its content is garbage.
0
garbage value. what is this
0
ok. thanks