Cecily147 Cecily147
  • 13-07-2019
  • Computers and Technology
contestada

Unless you explicitly initialize global variables, they are automatically initialized to

_________.

Respuesta :

KrystaCort KrystaCort
  • 22-07-2019

Answer:

Zero(0)

Explanation:

Global Variables

Variables which are declared outside any function. Any function can use these variables,they are automatically initialized to zero(0).They are generally declared before main() function.

Example- C program for showing global variable is 0.

  #include <stdio.h>

   int g;  // declaring g as global variable

   int main()

   {

       printf("%d",g);  //printing global variable

       return 0;

    }

Output

  0

Answer Link

Otras preguntas

List two devies of repetition in song of slves in the dessert .give examples and explain why whittier used these devices
How many moles of ca(no32 are in 400 ml of a 0.80 m calcium nitrate solution?
What do ovaries contain?
Richard can read 1/4 of a book in 4/5 of an hour. At this rate, how much can Richard read in one hour?
How do you write 160% as a fraction or mixed number in simplest form?
30% of what equals 18
Which actions does a good writer take? The writer submits the paper a day or two after the deadline. The writer accepts and implements constructive feedback abo
If the price of gasoline rises by 10%, by what percentage is the quantity demanded likely to fall?
What is the median of 12 and 15?
Suppose you make hot chocolate and it starts off just too hot to drink, so you put it in the freezer temporarily to cool it off. If the original temperature is