+ 78 Storage Locations * Storage locations in memory trick be used to hold info for a program. * A memory board location has: * think of -the information stored at that location. * Adderess The number which says where the terminal location is in memory. * Name anidentifier that a program associates with that entrepot location. * Type the fiber of data stored at that location Variable * The symbolic name (identifier ) for a storage location which fag change its value is a variable. * Variavles moldiness be sustaind,before they can be given a value.When yyou confine a variable you specify its name andy fictional character. * The closure allocates the storage location of the appropriate size and associates the name and data type with that location.
Variable Declarations * They format for the declaration of an integer is info type_identifier; * For exmple -int number -float length -char letter -double height Namin g Entities in C++ * Identifiers are used to name entities in C++ * Entities that need names -Funtions and methads -Storage locations -Variable - Constants -Objects -User outlined type Rules for making Identifiers * Identifiers break down with a letter. * Identifiers are a sequence of letters,digits,and underscore characters_ * Identi fiers whitethorn non be a reserved pronoun! ce. * An identifier name cannot consist of more(prenominal) than 31 characters. Keywords * A reserved word is a word which has a special meaning in C++ and cannot be re specify by the programmeer, -Examples :int ,float.delete,else if this try void for while * A standard identifier or keyword is a word is a word which has a defined meaning in C++ but its use can be changed by the programmer....If you want to get a well(p) essay, vagabond it on our website: OrderEssay.net
If you want to get a full information about our service, visit our page: write my essay
No comments:
Post a Comment