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

which of these is a hallmark of a chronic disease?
whats the mean for 7 14 10 14 29 16 15
Which equation is y=-6^2+3x+2 rewritten in vertex form?
Why was maximilien de Robespierre executed?
Segundo o ranking interbrand, as marcas mais valiosas do Brasil em 2010 estão na tabela abaixo: Marca: Itaú,Bradesco,Petrobrás,Banco do Brasil. Valor: R$ 20.651
Cancer affecting bone marrow and blood is called
The table contains four statements. For which function below are four statements true?
What is one of the drawbacks of pursuing equity financing?
How can hypotheses best be tested
Which of the following transformations occur in "The Metamorphosis"? A. Gregor, a wage-earning brother, eventually enlivens his family. B. Mrs. Samsa, a self-as