Experiment nine--basic data type storage and application summary

Source: Internet
Author: User

1. The knowledge points learned in this lesson:

(1) This lesson has made me understand the basic data types: integer and Shape constants, character and character constants, real and real constants. This paper introduces the definition of four basic data types, the range of values and their constant forms, which require the application of ASCII character set and escape character to be mastered.

(2) The input and output of the type of basic data is learned, and is implemented by function call.

2. Problems encountered during the experiment and solutions:

Problem: Feeling is a difficult point, reading the examples are not very clear

Method: Multi-Consulting teacher

3. Experience of experiment and summary of the study in this chapter

(1) Basic data types: integer and Shape constants, character and character constants, real and real constants.

(2) Expressions: constants, variables, functions are the simplest expressions, and expressions that are correctly concatenated with an operator are expression.

Arithmetic expressions: Precedence and binding of arithmetical operators, assignment expressions, relational expressions, logical expressions, comma expressions, bitwise operations, and other operations.

4. Preview

(1) An array is the most basic type of construction, which is an orderly combination of data of the same type. The elements in the array are kept in memory, each element is of the same data type, and array elements can be uniquely determined with array names and subscripts.

(2) Initialization of one-dimensional arrays: As with the initialization of simple variables, when you define an array, you can also assign an initial value to a group element.

The general form is: Type an array group name [array length]=[initial value table];

Experiment nine--basic data type storage and application summary

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.