Programming languages-c/c++

Source: Internet
Author: User

Types

void

The (nonexistent) value of a void expression (an expression of the with type void) shall not being used in any, and Implicit or explicit conversions (except to void) shall is applied to such an expression. If an expression of any other type is evaluated as a void expression, its value or designator is discarded. (A void expression is evaluated for its side effects.)

void;

Nullptr

Both (int*) 0 and nullptr is valid template-arguments for a non-type template-parameter of type "pointer to Int. "

"Null pointer constant"

An integer constant expression with the value 0, or such an expression cast to type void *, is called a null Poin ter constant.66) If A null pointer constant is converted to a pointer type, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function

nullptr corresponds to a pointer-type variable, and null corresponds to a pointer-type variable or constant 0

Types *val = nullptr;

Auto

bool

True

Flase

Char

char16_t

char32_t

wchar_t

Int

Float

Double

Unsigned

Signed

Short

Long

Programming languages-c/c++

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.