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

many popular beverages are sold in two-kilo bottles. true or false
What value was there in predicting the properties for gaps in Mendeleev's table?
what do you set the oven to when baking palmiers
how will you describe the pathway of the oxygen n the breathing system?
what is national library week?
Electrons surround the nucleus of an atom and those that are in the outer energy levels are _____.less attracted to the nucleusmore attracted to the nucleusnot
what does 'chop and change' mean?
explain why it is usually only necessary to test one point when graphing an inequality
A body of mass 2 kg is moving in the positive X-Direction with a speed of 4 m/s collides head on with an another body of mass 3 kg moving in the negative X-Dire
what is the cuberoot of the squareroot of 324?