1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
puteri [66]
3 years ago
10

If a member variable is declared , all objects of that class share that variable. A(n) function is not a member of a class, but

has access to the private members of the class. A(n) tells the compiler that a specific class will be declared later in the program. When the operator is overloaded, its function must have a dummy parameter. The class Stuff has both a copy constructor and an overloaded = operator. Assume that blob and clump are both instances of the Stuff class. For each of the statements, indicate whether the copy constructor or the overloaded = operator will be called: Staff blob = clump ; clump = blob ; blob.operator =(clump) ; showValues(blob) ; // blob is passed by value Consider the following class declaration: class Thing { private: int x ; int y ; static int z ; public: Thing() { x = y = z ; } static void putThing(int a) { z = a ; } } ; int Thing:: z = 0 ; Assume a program containing the class declaration defines three Thing objects with the following statement: Thing one, two, three ; How many separate instances of the x member exist? How many separate instances of the y member exist ? How many separate instances of the z member exist? What value will be stored in the x and y members of each object? Write a statement that will call the putThing member function before the Thing objects are defined. Explain why the parameter of a copy constructor must be a reference.
Mathematics
1 answer:
Tcecarenko [31]3 years ago
5 0

Answer:

a shs s s s ss bsbsbsbs s s s s s s s s s s s s s

You might be interested in
Solve for y.<br> 5. x = 1/3y +2
maxonik [38]

Answer: y=3x-6

Step-by-step explanation:

4 0
2 years ago
Read 2 more answers
Help me :,)
IrinaK [193]

Answer:

The rule of the arithmetic sequence is 13 - 2n

The 30th term is -47

Step-by-step explanation:

∵ f(n) = 11 and g(n) = -2(n - 1) = -2n + 2

∴ f(n) + g(n) = 11 + -2n + 2 = 13 - 2n

Use n = 1 , 2 , 3 , 4 to check the type of the sequence

∵ n = 1 ⇒ 13 - 2(1) = 11

∵ n = 2 ⇒ 13 - 2(2) = 13 - 4 = 9

∵ n = 3 ⇒ 13 - 2(3) = 13 - 6 = 7

∵ n = 4 ⇒ 13 - 2(4) = 13 - 8 = 5

∵ 11 , 9 , 7 , 5 is an arithmetic sequence with difference -2

∴ The rule of the arithmetic sequence is 13 - 2n

∴ The 30th term = 13 - 2(30) = -47

5 0
3 years ago
Read 2 more answers
If a roasting is 600mm x 500mm how many 25cm cake time will fit on it?
nydimaria [60]
So assuming that 25cm is 25 square cm because you cannot have a 2 dimentional cake so

600mm by 500mm
to find the area, multiply legnth by width

mm=milimeters
cm=centimeters
this is in mm so
1cm=10mm
1mm=1/10cm
to convert from mm to cm, you divide by 10
we must divide by 10 first
legnth =600mm
600/10=60cm
legnth=60cm

width=500mm
500/10=50cm
width=50cm

area=60 times 50=3000 square cm or cm^2
so 3000 is the area
25 is the area of each cake
divide 3000 into 25 and find how many cakes will fit

3000/25=120

120 cakes will fit

3 0
3 years ago
[Related Rates]
Orlov [11]
Below is the solution: 

A(final)=16cm^2 ds/dT=6 da/dT=? 

<span>A=(s)^2 A=16cm^2 , s=sqrt(A) , s=sqrt(16) , s=4cm </span>

<span>da/dT=2(s)(6cm/sec) , da/dT=12cm/sec(s) , da/dT=12cm/sec (4cm) 
</span>
<span>Answer should be da/dT=48cm^2/sec
</span>
Thank you for posting your question here at brainly. I hope the answer will help you. Feel free to ask more questions here.

6 0
3 years ago
A line that passes through the points (–4, 10) and (–1, 5) can be represented by the equation y = y equals negative StartFractio
Natali5045456 [20]

Answer:

y=-\frac{5}{3} x+\frac{10}{3}  or what is the same: 5x+3y=10

Step-by-step explanation:

First we find the slope of the line that goes through the points (-4,10) and (-1,5) using the slope formula: slope=\frac{10-5}{-4-(-1)} =\frac{5}{-3} =-\frac{5}{3}

Now we use this slope in the general form of the slope- y_intercept of a line:

y=-\frac{5}{3} x+b

We can determine the parameter "b" by requesting the condition that the line has to go through the given points, and we can use one of them to solve for "b" (for example requesting that the point (-1,5) is on the line:

y=-\frac{5}{3} x+b\\5=-\frac{5}{3} (-1)+b\\5=\frac{5}{3}+b\\5-\frac{5}{3}=b\\b=\frac{10}{3}

Therefore, the equation of the line in slope y_intercept form is:

y=-\frac{5}{3} x+\frac{10}{3}

Notice that this equation can also be written in an equivalent form by multiplying both sides of the equal sign by "3", which allows us to write it without denominators:

y=-\frac{5}{3} x+\frac{10}{3}\\3*y=(-\frac{5}{3} x+\frac{10}{3})*3\\3y=-5x+10\\5x+3y=10

3 0
3 years ago
Read 2 more answers
Other questions:
  • If sin F = 3/5 , what is cos G ?
    7·1 answer
  • Could it also be compound-complex? or just complex
    13·1 answer
  • Suppose we are flipping a fair coin (i.e., probability of heads = 0.5 and probability of tails = 0.5). further, suppose we consi
    14·1 answer
  • Consider the equations: y = 2x − 2 and y = 3x − 2.
    8·2 answers
  • To anyone who's in 8th grade, what did you learn in technology for 3rd quarter. like just give me the unit names or just what yo
    12·1 answer
  • What is 2/3 times 1/12
    10·2 answers
  • 2. MARBLES The ratio of blue marbles to white marbles in a bag is 4 to 5.
    9·2 answers
  • Help Me PLEASE!!!
    12·1 answer
  • Find the point-slope form <br> through: (4, 3), parallel to y =7/6x + 1
    12·1 answer
  • If you graph the line x=-6 what type of slope would it have?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!