Did the int have 2 bits size or 4 bits | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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