Are these the correct variable sizes for CCS?
char -> 8 bits short/int -> 16 bits long -> 32 bits float -> 32 bits
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Are these the correct variable sizes for CCS?
char -> 8 bits short/int -> 16 bits long -> 32 bits float -> 32 bits
Victor,
Be extremely careful to assume the size of data types are fixed; on the contrary, they are completely dependent on the architecture and compiler implementation used. Please check slide 18 of the CGT Tips and Tricks for beginners to get the data sizes for each TI device family.
Hope this helps,
Rafael