+ 2

Did the int have 2 bits size or 4 bits

16th Nov 2018, 5:22 AM
Mr. Elliot
Mr. Elliot - avatar
2 Respostas
+ 6
"Depending on the computer architecture" ¹ not the compiler, and why all the cloak and dagger?! 8D Make a query like so cout << sizeof(int); // usually 4 bytes on a 32-bit machine _____ ¹ https://en.cppreference.com/w/cpp/language/sizeof
16th Nov 2018, 6:35 AM
Babak
Babak - avatar
+ 2
Thanks!
16th Nov 2018, 6:11 AM
Mr. Elliot
Mr. Elliot - avatar