I heard somewhere about 16 bit long char type on some of 64 bit systems. What is the size of char type on Intel 64 (EM64T) system?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are two 64-bit ABIs in common use on EM64T / AMD64 systems:
charas 8 bits (see section 3.1.2).charas 8 bits (see Types and Storage -> Scalar Types).But the C standard does allow a “byte” to be larger than 8 bits, and a
charis a “byte” (in terms of the C standard) by definition; and such platforms do exist, e.g. some DSPs.