C + + 5 modifier types

Source: Internet
Author: User
Tags modifier

7 Big Basic data types:BOOL Char int float Double voidwchar_t1 . Data type modifier: Change the meaning of the base type before the data type signed signed modifier, which modifies char ,int,wchar_tunsigned unsigned modifier, can modify char,int,wchar_t LongModifier, can be decoratedint、Double Shortmodifier, can be modified int,wchar_t 2. Type qualifier: Provides additional information for convenienceConstModified objects cannot be modified during program executionvolatileThe value of the decorated object may be changed in a way that is not explicitly specified by the program the restrict decorated pointer is the only way to change the object (after C99, ecplicit can block implicit conversions from the converted constructor that should not be allowed 

C + + 5 modifier types

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.