bpwn8177 bpwn8177
  • 14-02-2020
  • Computers and Technology
contestada

C++ automatically stores _____ in all uninitialized static member variables.

Respuesta :

codiepienagoya codiepienagoya
  • 14-02-2020

Answer:

The answer is "0".

Explanation:

The static variable is a member variable, which was configured at the start of implementation once only. It uses the static keyword to define any variable, It generates only one copy of the value throughout the program.  

  • In C++, when the class is static so, there is no need to create an object of the class.
  • When we declare the static variable it automatically assigns value "0" to a variable, that's why the answer is 0.
Answer Link

Otras preguntas

delaney plans to run at lest 7 miles each week. delaney has a circular route in the neighborhood to run. once around that route is 220 yards if delaney runs th
Listen Review section 3.6 to answer this question: The cabinet represented in Fig. 3.26 and 3.27, created by Daniel Pabst, was associated with: the Ming Dynasty
concert The following measurement​
Airplanes use radar (radio waves) to measure distances. The plane is at a height of 5200 m. The airport is 10.2 km away. How far does the plane need to travel b
Is the answer abcd lmk
what is the equation?
7+a y 7+b area y perimetro
What’s h20 plus nitrogen
What number gives a result of − 5 when 9 is subtracted from the quotient of the number and 4 ?
For which equation is x = 2 a solution? A. 5x − 4 = 11 B. 4x − 7 = 13 C. 3x + 1 = 7 D. 2x + 1 = 9