PDF Google Drive Downloader v1.1


Báo lỗi sự cố

Nội dung text C language.pdf




1. Specify the problem requirements State the problem clearly and gain a clear understanding of what is required for its solutions and eliminate unimportant aspects 2. Analyze the problem Identify the problem Input, Output, and Additional requirements or constraints 3. Design the algorithm to solve the problem Develop a list of steps (called algorithm) to solve the problem and to then verify that the algorithm solves the problem as intended. 4. Implement the algorithm Convert each algorithm step into one or more statements in a programming language 5. Test and verify the completed program Testing the completed program to verify that it works as desired. Run the program several times using different set of data to make sure that it works correctly for every situation provided for in the algorithm. 6. Maintain and update the program Modify a program to remove previously undetected errors and to keep it up-to-date 5. What is a C-token? Explain different types of C-tokens? C-token: A passage of text, individual words and punctuation marks are called as tokens. Similarly in C language the smallest individual units are known as C tokens. C has six types of tokens and those are used to write the C programs. 1. Keywords 2. Identifiers 3. Constants 4. Strings 5. Special symbols 6. Operators 1. Keywords: Keywords are the words whose meaning has already been explained to the C compiler. The keywords cannot be used as variable names. Every C word is classified as either a keyword or an identifier. The keywords are also called as ‘reserved words’ there are only 32 keywords in C89. Those are as follows: auto Continue enum if short switch Volatile break default Extern int signed typedef while case do float Long sizeof union char double for register static unsigned const else goto return struct void 2. Identifiers: Identifiers refer to the names of variables, functions and arrays. Rules for constructing identifiers: 1. An identifier is a sequence of letters and digits. 2. The first character must be a letter. 3. The underscore counts as a letter.

Tài liệu liên quan

x
Báo cáo lỗi download
Nội dung báo cáo



Chất lượng file Download bị lỗi:
Họ tên:
Email:
Bình luận
Trong quá trình tải gặp lỗi, sự cố,.. hoặc có thắc mắc gì vui lòng để lại bình luận dưới đây. Xin cảm ơn.