What does the type unsigned in C++ refer to? Is it exactly the same as unsigned int?
[meeting quality standards]
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.
Yes, it’s exactly the same. See Table 10 in 7.1.6.2 Simple type specifiers [dcl.type.simple] for a list of type specifiers and the corresponding specified types.
unsignedspecifies the type “unsigned int”, just asunsigned intspecifies the type “unsigned int”.