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
What is the slope of a line that is perpendicular to y=1/2x+9 that passes through (-7,-4)
Artist 52 [7]
Hi there!

To find the perpendicular slope you need to flip the fraction and change the sign. So 1/2=2/1 and tge original slope was positive, so the slope is -2. Now you sub in the point (-7,-4) in for x and y in the formula y=mx+b and solve for b (sub in 2 for m as well)
Y=mx+b
-4=-2*-7+b
-4=14+b
-4-14=b
B=-18
The equation is y=-2x-18

Hope this helps!
6 0
2 years ago
The volume of this regular pentagonal pyramid is 82.5 cubic meters. What is the height of the pyramid?
a_sh-v [17]

the height of the pentagonal pyramid is 5. 70 meters

<h3>Volume of a regular pentagonal pyramid</h3>

The formula for determining the volume of a regular pentagonal pyramid is given as;

V=5/12tan(54°)ha^2

Where

  • a is the base edge
  • h is the height

We have the volume to be;

volume = 82. 5 cubic centers

height = h

a = 5m

Substitute the values

82. 5 = \frac{5}{12} × tan 54 × h ×5^2

82. 5 = 0. 42 × 1. 3764 × 25 × h

Make 'h' subject of formula

h = \frac{82. 5}{14. 45}

h = 5. 70 meters

The height of the pentagonal pyramid is 5. 70 meters

Thus, the height of the pentagonal pyramid is 5. 70 meters

Learn more about a pentagonal pyramid here:

brainly.com/question/16315924

#SPJ1

6 0
10 months ago
Use the quadratic formula to find the solutions to the quadratic equation
wlad13 [49]
3*2=6
6-x-2=0
4=x
The answer is 4
7 0
2 years ago
Read 2 more answers
Victoria ran 3/4 a mile in 1/3 of an hour. If she continues at this rate, How far will she run in 1 hour
weqwewe [10]

Answer:

2 ¼ miles

Step-by-step explanation:

we can use a ratio

miles:hrs

¾:⅓

x3 x3

9/4:1

2¼:1

3 0
3 years ago
I need help converting 3/5 into a decimal​
Zigmanuir [339]

Answer:

0.6

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • What Is the value of 8÷1/5
    6·1 answer
  • The store manager ordered402 baseball caps and 122 ski caps. Estimate the total numbers of caps the manager ordered
    11·1 answer
  • A regular octagon rotates 360° about its center. How many times does the image of the octagon coincide with the preimage during
    9·1 answer
  • C= 12r + 2<br> what is C?<br> What is r?
    15·1 answer
  • Can somebody help ?
    7·1 answer
  • ㅠㅠ I need help on graphing this.
    14·1 answer
  • Suppose that 6 years ago, Alice was four times as old as Betty. In 4 years from now, Alice will only be three times as old as Be
    9·1 answer
  • Three babies A, B and C cry out at every interval of
    5·2 answers
  • Please let me know what the answer is​
    7·2 answers
  • Factor the polynomial<br><br> 28c - 12
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!