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
Question 1 What is difference between cathode ray tube monitors and LCD monitors? List three popular types of operating systems and give brief introduction of each type Que

Problem When a data is sent across the network it is encrypted and arranged in a way that even if there is a diversion in the flow of data should not leak the data. At the rece

Question 1 Explain boundary fill and flood fill polygon filling algorithm Question 2 Draw and explain the block diagram of typical workstation Question 3 Explain the ras

Question 1 Discuss the impacts of disaster faced by the organization Question 2 Explains the steps involved in disaster recovery planning Question 3 What do you mean by

Question 1 Explain attributes, properties, and characteristics of system Question 2 What do understand from Organizational Aspects of System Life Cycles? Explain Question

Our instructor gave us a project in making a mechanical game or simple device using assembly language, can anyone give me a an example of a project description for our proposal?

Magnetic Memory:  In the above section we have seen various types of semiconductor RAMs. These high speed semiconductor storage devices (i.e. RAMs) are expensive. So we need s

Another way of classifying a computer system is based upon its size and capabilities: Microcomputers: Microcomputers are systems based on the use of microprocessors. A Micr

The three main elements of the control unit are: 1. Decoder this is used to decode the instructions that create a program when they are being processed, and to establish in what ac

explain the objectives of file management?