Skip to content

C++ - Coding Change The World #6

Description

@hz-bin

https://hz-bin.github.io/C++

1、C++语法基础指针和引用 指针有自己的一块内存空间,引用只是一个别名。 sizeof 指针大小为4,sizeof 引用为被引用对象的大小。 引用必须初始化,且是一个已存在对象的引用。指针可以初始化为 nullptr。 可以有const指针,但是没有const引用。程序编译过程 预处理阶段:对源代码文...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions