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

NUMBER SYSTEM:  We are familiar with decimal number system which uses ten distinct symbols from 0...9, and has base 10. In the decimal number system a number n 4 n 3 n 2 n 1

#questionWrite a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two poi

Problem 1 Briefly explain Components of Excel Work book Explanation of Components of Excel Work book Problem 2 How do you insert a watermark in the Word docume

Question 1 What are the various skills needed for broadcasting and film? Question 2 What is a 2 dimensional animations and 3 dimensional animations? Question 3 Different


QUESTION a) What is Time Division Multiplexing (TDM), illustrate your answer with a diagram b) Describe four types of RTCP messages c) i) What is silence compression in I

SOFTWARE BASICS: Software is a generic term covering the concepts, procedures and instructions which cause the computer systems to accomplish the required job, Generally, soft

Spreadsheet Software : Consider the grid in Fig. 9.4. It is split into rows and columns and is a pictorial representation of a typical spreadsheet program.  Figure: Spr

Question 1 What is a desktop? Explain the Windows XP desktop? 2 How does a flash drive work? 3 Write the procedure for creating Macro 4 Explain the process of applyin