NECESSARY BUT NOT SUFFICIENT MATERIAL FOR CPU
Chapter 1
mental synthesis of C Programs:
Documentation office: The documentation section consists of a set of comment lines giving the details of the program same(p) who created the program,date,its purpose etcâ¦.
Link ingredient: The link section provides instructions to the compiling program to link functions from the system library.e.g., #include,#include.
Definition Section: Definition section defines every symbolic constants.
#define PI 3.14
Global Declaration Section: variants which can be apply by all the functions in a program is cognise as global variable and is declared outside all the functions.
The global variables are declared in the global solution section.
Main function: Every C program must(prenominal) prepare one main function section. The program exploit begins here.
Sub program section: Contains all the social occasionr-defined functions that are called in the main function.
Chapter 2
Tokens: In a passage of text, individual haggling and punctuation marks are called tokens. Similarly in a C program the smallest individual units are known as C tokens.
Keywords: Keywords are the tokens in C program that have a fixed meaning that cannot be changed.
Keywords are silent by the system and user cant use it as an identifier.All keywords must be written in trim case. E.g. float, while,goto,int,if,breakâ¦..
Identifiers: Identifiers refer to the names of variables, functions and arrays. These are user-defined names. E.g i,main(),str[10]â¦..
Constants: Constants refer to fixed determine that do not change during the execution of a program.
varying: A variable is a data name that may be used to store a data value. contrary constants a variables data can change.
Variable Declaration:
Declaration of a variable does two things:
1. It tells compiler what the name is.
2. It specifies what type of data the variable will hold.
The solvent of variables...If you want to get a full essay, order it on our website: Orderessay
If you want to get a full essay, wisit our page: write my essay .
No comments:
Post a Comment