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
The system bus is a cable which carries data communication among the major components of the computer, as well as the microprocessor. Not all of the communication that uses the bus

Question (a) What do we signifies by saying that HTTP is a stateless protocol? (b) Explain three ways of working around that statelessness issue (c) Explain with the help

You are to code a C++ program that will read the file IntList into an integer array. There are no more than 20 integers in the file. After all of the data is read into the file,

Fundamentals of IT 1. How do you insert a symbol in a Word document? 2. Explain absolute cell addressing? 3. Discuss Custom List? 4. Explain applications of Multimedia

2. Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers [7] 2.2 In a given day he w

Input Devices Keyboard Keyboard is the device through which the commands, instructions required for execution of a program is entered. It consists of a number of


Problem 1. What are Micro-operations? Explain Micro operations of the Fetch cycle. Defining Micro-operations Its explanation of the fetch cycle 2. Differen

A* Search-Artificial intelligence:   A* search combines the best parts of uniform cost search that  called the fact that it's optimal and complete, and the best parts of gre

Question 1 Briefly explain Registers Question 2 What are complier and interpreter? Question 3 Explain the process of installing Windows XP Question 4 Wr