I am trying to print size_t values using cout. Here is my code
#include <iostream>
using namespace std;
int main() {
size_t blah = 15;
cout << blah +" gibberish";
return 0;
}
The output I get is this: D
.
Thanks for the help! :)
*I am trying to use this to print memory usage.
*Also, what exactly is unit of size_t?
*I tried posting cout<<blah +" bytes";
which gives me a telephone Unicode emoji (U+0007 : BELL [BEL]) as the output but stackoverflow refuses to display it .