Multiple allocations, Basic Computer Science

You can also allocate a single value to several variables at the same time. For instance:
X=y=z =1
Now, an integer object is generated with the value 1, and all three variables are assigned to the same memory location. You can also assign multiple objects to multiple variables. For example:
x, y, z = 1, 2, "William"
At this time two integer objects with values 1 and 2 are assigned to variables x and y, and one string object with the value "william" is assigned to the variable c.
Posted Date: 5/5/2012 3:43:29 AM | Location : United States

Related Discussions:- Multiple allocations, Assignment Help, Ask Question on Multiple allocations, Get Answer, Expert's Help, Multiple allocations Discussions

Write discussion on Multiple allocations
Your posts are moderated
Related Questions
Data Input : There are several aspects of data input that need careful consideration. We shall assume that in a laboratory environment you are mainly concerned with entering data

Assignment of computer science

what is computer? explaine the block diagram of a general purpose digital computer.

Python allows single (''), double (") and triple ('''''' or """) quotes to indicate string literals, as long as the similar type of quote starts and ends the string. The triple quo

The data stored in memory can be of a lot of types. In case, a person’s age is stored as a numeric value and his or her address is stored as alphanumeric characters. Python has som

Super Computers: The specialised demands and requirements of science, industry and military have led to the creation of powerful super computers. For numerically intensive com

A Doctor Module Doctor has a list of the patients waiting for consultation. The doctor's module should include all the following details: Fields for common complaint

External interruptions are produced by peripheral devices, for example keyboards, printers, communication cards, etc. They are also produced by coprocessors. It is not achievable t