+ 1
What kind of numbers does this array outputs?
#include <iostream> using namespace std; int main() { int arr[10]; for (int x =0;x<10;x++){ cout << arr[x]<<endl; } return 0; }
4 odpowiedzi
+ 2
It outputs garbage values sitting in the (now) memory location which are now sad that you didn't assigned them a new value. Poor bytes... Shame on you!
+ 2
Sorry :( I'll try to not repeat this again Alex
+ 2
Garbage valuee will be on output box
0
you will get garbage values on console