Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Suppose in a hypothetical machine, the size of char is 32 bits. What would sizeof(char) return?

a) 4
b) 1
c) Implementation dependent
d) Machine dependent

Answer: b
Explanation: The standard does NOT require a char to be 8-bits, but does require that sizeof(char) return 1.

Join The Discussion