Timeline for Why do you have to specify the data type when declaring variables?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 22, 2016 at 6:36 | comment | added | Peeyush Kushwaha | @GregBurghardt true. For making sense of bits already present as well as putting the bits there in first place after converting given data to binary according to the data type. | |
| Mar 21, 2016 at 15:28 | history | edited | Peeyush Kushwaha | CC BY-SA 3.0 | edited body |
| Mar 21, 2016 at 14:43 | history | edited | Peeyush Kushwaha | CC BY-SA 3.0 | Improved Answer |
| Mar 21, 2016 at 10:07 | comment | added | Greg Burghardt | This is the closest answer. It all has to do with memory. You declare the type so the compiler knows how much memory to the application should request at runtime. Knowing how the bits should be interpreted is secondary. | |
| Mar 21, 2016 at 7:49 | review | First posts | |||
| Mar 22, 2016 at 20:03 | |||||
| Mar 21, 2016 at 7:48 | history | answered | Peeyush Kushwaha | CC BY-SA 3.0 |