Talk about what the basic data types and complex data types is characterized by?

Talk about what the basic data types and complex data types is characterized by?

  • Basic data types
    • Variable name is stored on the stack specific values
    • Use "==" is to determine whether the value is equal to
  • Complex data types
    • Stored on the stack is a variable name [memory address] object, the above content is stored in the stack
    • Use "==" if the address is the same

Guess you like

Origin www.cnblogs.com/zcsmile/p/10962062.html