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

I have 10 hundred-thousands what number am I
square root of 49/64 answered as a fraction
ACCELERATION of an object DOES NOT change when the object changes DIRECTION ?
At the Battle of Gettysburg, General Robert E. Lee surrendered his army and supplies to General George Meade. captured control of northern territory between Phi
Calculate: ㅤ [tex]\lim_{x \rightarrow +\infty}x(\sqrt{x^{2}-1}-x)[/tex]
Payroll deductions are the same for all employees. True False
For a closed rectangular box, with a square base x by x cm and height h cm, find the dimensions giving the minimum surface area, given that the volume is 18 cm3
Kasek rides his bicycle down a 6.0° hill (incline is6° with the horizontal) at a steady speed of 4.0m/s. Assuming a total mass of 75 kg (bicycle andKasek), what
Subtract these polynomials. (3x2 – 2x + 5) – (x2 + 3) =
prove that..please help​