The title: Function of static variables

Refer to the answer:

  1. Can be called by multiple functions
  2. Can be called without a class
  3. After use, variables remain the same

The titleWhat’s the difference between a reference and a pointer?

Refer to the answer:

  1. A reference must be initialized, not a pointer.
  2. A reference cannot be changed after initialization, and a pointer can change the object to which it refers.
  3. There are no references to null values, but there are Pointers to null values.

The title: Describes the basic features of a real-time system

Refer to the answer:

Real-time system refers to the system work, can complete specific tasks in a specific time, its various resources can be dynamically allocated according to the need, so its ability to deal with transactions, fast. To complete a specific task in a specific time, real-time and reliability.

The titleIs there a difference in memory between global and local variables? If so, what is the difference?

Refer to the answer:

Global variables are stored in a static database and local variables are stored on the stack.

The titleWhat is a balanced binary tree?

Refer to the answer:

Both the left and right subtrees are balanced binary trees and the absolute value of the depth difference between the left and right subtrees is not greater than 1.

The title: What network protocol does the Internet use? What are the main hierarchies of the protocol?

Refer to the answer:

The Tcp/Ip protocol has the following layers: application layer, transport layer, network layer, data link layer, and physical layer.

The title: What are the coding parts of an IP address?

Refer to the answer:

An IP address consists of two parts, the network number and the host number. The only way to distinguish network bits from host bits is to place them in bitwise with the subnet mask.